Skip to content

Commit

Permalink
stress: fix bad nonce recover logic in non -cb case
Browse files Browse the repository at this point in the history
  • Loading branch information
jchappelow authored and charithabandi committed Mar 4, 2025
1 parent 5db5f57 commit f206dbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/stress/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ func (h *harness) underNonceLock(ctx context.Context, fn func(int64) error) erro
// again shortly if there are others already in mempool.
recoverNonce()
h.printf("RESET NONCE TO LATEST REPORTED (underNonceLock): %d", h.nonce)
} else {
h.nonce--
}
h.nonce--
return err
}
return nil
Expand Down

0 comments on commit f206dbd

Please sign in to comment.