mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Give names to channels (#5626)
* Give names to channels * Fix * A couple more changes * More minor tweaks * Fix test
This commit is contained in:
@@ -99,7 +99,7 @@ pub trait Network<B: BlockT> {
|
||||
|
||||
impl<B: BlockT, H: ExHashT> Network<B> for Arc<NetworkService<B, H>> {
|
||||
fn event_stream(&self) -> Pin<Box<dyn Stream<Item = Event> + Send>> {
|
||||
Box::pin(NetworkService::event_stream(self))
|
||||
Box::pin(NetworkService::event_stream(self, "network-gossip"))
|
||||
}
|
||||
|
||||
fn report_peer(&self, peer_id: PeerId, reputation: ReputationChange) {
|
||||
|
||||
Reference in New Issue
Block a user