mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: dont remove txs manually (#11683)
This commit is contained in:
@ -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();
|
||||
|
||||
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user