Skip to content

Commit

Permalink
fix: do not increment latest nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
sherpalden committed Jan 17, 2025
1 parent db1bd5f commit 71149c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/chains/evm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (p *Provider) GetTransationOpts(ctx context.Context) (*bind.TransactOpts, e
return nil, err
}

txOpts.Nonce = latestNonce.Add(latestNonce, big.NewInt(1))
txOpts.Nonce = latestNonce
}

gasPrice, err := p.client.SuggestGasPrice(ctx)
Expand Down

0 comments on commit 71149c1

Please sign in to comment.