Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight improvements in the nonce management mechanism. #168

Closed
wants to merge 17 commits into from
Prev Previous commit
Next Next commit
close channel.
  • Loading branch information
cristure committed Jan 15, 2024
commit 9caffdad729e7d66b8bf3d9f5ce214301ad27f00
1 change: 1 addition & 0 deletions interactors/nonceHandlerV3/addressNonceHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func (anh *addressNonceHandler) getNonceUpdatingCurrent(ctx context.Context) (ui

// ReSendTransactionsIfRequired will resend the cached transactions that still have a nonce greater that the one fetched from the blockchain
func (anh *addressNonceHandler) ReSendTransactionsIfRequired(ctx context.Context) error {
defer close(anh.hashChannel)
account, err := anh.proxy.GetAccount(ctx, anh.address)
if err != nil {
return err
Expand Down
Loading