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

@@ -279,7 +279,7 @@ where
ctx.task_executor().spawn_critical(
"events task",
node::handle_events(
Some(ctx.components().network().clone()),
Some(Box::new(ctx.components().network().clone())),
Some(ctx.head().number),
events,
database.clone(),