refactor: roll custom canon state notification stream (#2486)

This commit is contained in:
Matthias Seitz
2023-05-01 16:43:54 +02:00
committed by GitHub
parent 7ccede7e2b
commit e1446ae49b
4 changed files with 38 additions and 6 deletions

View File

@ -205,8 +205,6 @@ impl Command {
ctx.task_executor.spawn_critical(
"txpool maintenance task",
Box::pin(async move {
let chain_events = chain_events.filter_map(|event| async move { event.ok() });
pin_mut!(chain_events);
reth_transaction_pool::maintain::maintain_transaction_pool(
client,
pool,