Skip to content

Commit

Permalink
Update base_layer/core/src/mempool/sync_protocol/initializer.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Stan Bondi <sdbondi@users.noreply.github.com>
  • Loading branch information
SWvheerden and sdbondi authored Sep 23, 2022
1 parent 1a027d5 commit f5ac3af
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions base_layer/core/src/mempool/sync_protocol/initializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,10 @@ impl ServiceInitializer for MempoolSyncInitializer {
}
log_mdc::extend(mdc.clone());
}
let streams = MempoolSyncStreams {
block_event_stream: base_node.get_block_event_stream(),
connectivity_events: connectivity_event_subscription,
};
MempoolSyncProtocol::new(config, notif_rx, mempool, connectivity)
.run(streams)
let base_node_events = base_node.get_block_event_stream();

MempoolSyncProtocol::new(config, notif_rx, mempool, connectivity, base_node_events)
.run()
.await;
});

Expand Down

0 comments on commit f5ac3af

Please sign in to comment.