We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c932232 commit caecc44Copy full SHA for caecc44
executors/src/eoa/store/atomic.rs
@@ -418,15 +418,15 @@ impl AtomicEoaExecutorStore {
418
// Update cached transaction count
419
pipeline.set(&tx_count_key, current_chain_tx_count);
420
421
- if current_chain_tx_count + 1 > optimistic_nonce {
+ if current_chain_tx_count > optimistic_nonce {
422
tracing::warn!(
423
current_chain_tx_count = current_chain_tx_count,
424
optimistic_nonce = optimistic_nonce,
425
"Optimistic nonce was behind fresh chain transaction count, updating to match"
426
);
427
pipeline.set(
428
self.optimistic_transaction_count_key_name(),
429
- current_chain_tx_count + 1,
+ current_chain_tx_count,
430
431
}
432
0 commit comments