Skip to content

Commit

Permalink
move the noce increment
Browse files Browse the repository at this point in the history
  • Loading branch information
mskrzypkows committed Oct 4, 2024
1 parent 685c25b commit c08c0b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Node/src/node/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ impl Node {
let pending_tx_lists_bytes = if pending_tx_lists.tx_list_bytes.is_empty() {
if let Some(lookahead_params) = lookahead_params {
debug!("No pending transactions to preconfirm, force pushing lookahead");
self.preconfirmation_helper.increment_nonce();
if let Err(err) = self
.ethereum_l1
.execution_layer
Expand All @@ -461,6 +460,8 @@ impl Node {
} else {
error!("Failed to force push lookahead: {}", err);
}
} else {
self.preconfirmation_helper.increment_nonce();
}
}
// No transactions skip preconfirmation step
Expand Down

0 comments on commit c08c0b5

Please sign in to comment.