Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: tomg10 <[email protected]>
  • Loading branch information
tomg10 committed Sep 24, 2024
1 parent b335a02 commit 95db5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/node/eth_watch/src/event_processors/priority_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl EventProcessor for PriorityOpsEventProcessor {
let processed_priority_transactions = sl_client.get_total_priority_txs().await?;
let ops_to_insert: Vec<&L1Tx> = new_ops
.iter()
.take_while(|op| processed_priority_transactions <= op.serial_id().0)
.take_while(|op| processed_priority_transactions > op.serial_id().0)
.collect();

for new_op in &ops_to_insert {
Expand Down

0 comments on commit 95db5a5

Please sign in to comment.