diff --git a/internal/wallet/wallet.go b/internal/wallet/wallet.go index 96b4e80..f934941 100644 --- a/internal/wallet/wallet.go +++ b/internal/wallet/wallet.go @@ -49,7 +49,7 @@ type wallet struct { func (w wallet) Opts(ctx context.Context) (*bind.TransactOpts, error) { auth := *w.auth - nonce, err := w.ethCli.NonceAt(ctx, w.address, nil) + nonce, err := w.ethCli.PendingNonceAt(ctx, w.address) if err != nil { return nil, errors.Wrap(err, "failed to get nonce") }