replacing network_handle with peer_info trait object (#9367)

This commit is contained in:
Luca Provini
2024-07-08 15:01:51 +02:00
committed by GitHub
parent 92fb25137e
commit cbf19c1656
3 changed files with 10 additions and 10 deletions

View File

@ -204,7 +204,7 @@ impl Command {
ctx.task_executor.spawn_critical(
"events task",
reth_node_events::node::handle_events(
Some(network.clone()),
Some(Box::new(network)),
latest_block_number,
events,
provider_factory.db_ref().clone(),