Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirko-von-Leipzig committed Oct 22, 2024
1 parent 92aa16b commit 4510bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/block-producer/src/mempool/inflight_state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ mod tests {
}
committed.commit_block(&txs[..i]);

let mut inserted = InflightState::new(BlockNumber::default(), 0);
let mut inserted = InflightState::new(BlockNumber::new(1), 0);
for (idx, tx) in txs.iter().skip(i).enumerate() {
inserted.add_transaction(tx).unwrap_or_else(|err| {
panic!("Inserting tx #{idx} in iteration {i} should succeed: {err}")
Expand Down

0 comments on commit 4510bab

Please sign in to comment.