Skip to content

Commit

Permalink
add nonce-log for transactor
Browse files Browse the repository at this point in the history
Signed-off-by: NhoxxKienn <[email protected]>
  • Loading branch information
NhoxxKienn committed Jul 11, 2023
1 parent 97f17ca commit 0e6fa0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions channel/contractbackend.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (c *ContractBackend) NewTransactor(ctx context.Context, gasLimit uint64, ac
if err != nil {
return nil, err
}
log.Printf("Nonce: %d", nonce)
auth.Nonce = big.NewInt(int64(nonce))
return auth, nil
}
Expand Down

0 comments on commit 0e6fa0f

Please sign in to comment.