diff --git a/helper/tx.go b/helper/tx.go index 87bbc11b..e1c8ed3c 100644 --- a/helper/tx.go +++ b/helper/tx.go @@ -58,7 +58,7 @@ func GenerateAuthObj(client *ethclient.Client, address common.Address, data []by } // fetch nonce - nonce, err := client.PendingNonceAt(context.Background(), fromAddress) + nonce, err := client.NonceAt(context.Background(), fromAddress, nil) if err != nil { return }