Skip to content

Commit

Permalink
fix: dont remove txs manually (paradigmxyz#11683)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Oct 12, 2024
1 parent 43fe46f commit 5c84dab
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/consensus/auto-seal/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ where
let to_engine = this.to_engine.clone();
let client = this.client.clone();
let chain_spec = Arc::clone(&this.chain_spec);
let pool = this.pool.clone();
let events = this.pipe_line_events.take();
let executor = this.block_executor.clone();

Expand All @@ -139,11 +138,6 @@ where
&executor,
) {
Ok((new_header, _bundle_state)) => {
// clear all transactions from pool
pool.remove_transactions(
transactions.iter().map(|tx| tx.hash()).collect(),
);

let state = ForkchoiceState {
head_block_hash: new_header.hash(),
finalized_block_hash: new_header.hash(),
Expand Down

0 comments on commit 5c84dab

Please sign in to comment.