diff --git a/node/network/bridge/src/lib.rs b/node/network/bridge/src/lib.rs index 0dd6227b71a2..46d4a00faace 100644 --- a/node/network/bridge/src/lib.rs +++ b/node/network/bridge/src/lib.rs @@ -34,7 +34,7 @@ use polkadot_node_network_protocol::{ /// Peer set info for network initialization. /// -/// To be added to [`NetworkConfiguration::extra_sets`]. +/// To be passed to [`FullNetworkConfiguration::add_notification_protocol`](). pub use polkadot_node_network_protocol::peer_set::{peer_sets_info, IsAuthority}; use std::{collections::HashMap, sync::Arc}; diff --git a/node/network/bridge/src/rx/mod.rs b/node/network/bridge/src/rx/mod.rs index 499a73f0a49a..e757b2822184 100644 --- a/node/network/bridge/src/rx/mod.rs +++ b/node/network/bridge/src/rx/mod.rs @@ -49,7 +49,7 @@ use polkadot_primitives::{AuthorityDiscoveryId, BlockNumber, Hash, ValidatorInde /// Peer set info for network initialization. /// -/// To be added to [`NetworkConfiguration::extra_sets`]. +/// To be passed to [`FullNetworkConfiguration::add_notification_protocol`](). pub use polkadot_node_network_protocol::peer_set::{peer_sets_info, IsAuthority}; use std::{ diff --git a/node/network/bridge/src/tx/mod.rs b/node/network/bridge/src/tx/mod.rs index ff2e60fbe80b..2b54f6f0f06d 100644 --- a/node/network/bridge/src/tx/mod.rs +++ b/node/network/bridge/src/tx/mod.rs @@ -31,7 +31,7 @@ use polkadot_node_subsystem::{ /// Peer set info for network initialization. /// -/// To be added to [`NetworkConfiguration::extra_sets`]. +/// To be passed to [`FullNetworkConfiguration::add_notification_protocol`](). pub use polkadot_node_network_protocol::peer_set::{peer_sets_info, IsAuthority}; use sc_network::ReputationChange;