mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
Companion for paritytech/substrate#13592 (#2310)
* Fixes
* Remove `sc-network-common` dependency
* update lockfile for {"polkadot", "substrate"}
* Update Cargo.lock
* Update Cargo.lock
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -52,8 +52,9 @@ use polkadot_primitives::{CollatorPair, Hash as PHash, PersistedValidationData};
|
||||
use polkadot_service::ProvideRuntimeApi;
|
||||
use sc_client_api::execution_extensions::ExecutionStrategies;
|
||||
use sc_consensus::ImportQueue;
|
||||
use sc_network::{multiaddr, NetworkBlock, NetworkService};
|
||||
use sc_network_common::{config::TransportConfig, service::NetworkStateInfo};
|
||||
use sc_network::{
|
||||
config::TransportConfig, multiaddr, NetworkBlock, NetworkService, NetworkStateInfo,
|
||||
};
|
||||
use sc_service::{
|
||||
config::{
|
||||
BlocksPruning, DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration,
|
||||
@@ -698,7 +699,7 @@ pub fn node_config(
|
||||
if nodes_exlusive {
|
||||
network_config.default_peers_set.reserved_nodes = nodes;
|
||||
network_config.default_peers_set.non_reserved_mode =
|
||||
sc_network_common::config::NonReservedPeerMode::Deny;
|
||||
sc_network::config::NonReservedPeerMode::Deny;
|
||||
} else {
|
||||
network_config.boot_nodes = nodes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user