Skip to content

Commit

Permalink
Remove unused code in chain.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shibaeff committed Sep 11, 2024
1 parent fedf1a8 commit 0d5726e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,6 @@ func NewChainClient(
subaccountToNonce: make(map[ethcommon.Hash]uint32),
}

_ = NewTxFactory(ctx).WithSequence(0).WithAccountNumber(0).WithGas(0)

cc.ofacChecker, err = NewOfacChecker()
if err != nil {
return nil, errors.Wrap(err, "Error creating OFAC checker")
Expand All @@ -465,7 +463,6 @@ func NewChainClient(

return cc, nil
}

func (c *chainClient) syncNonce() {
num, seq, err := c.txFactory.AccountRetriever().GetAccountNumberSequence(c.ctx, c.ctx.GetFromAddress())
if err != nil {
Expand Down

0 comments on commit 0d5726e

Please sign in to comment.