mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 07:27:55 +00:00
Use sc_network::NetworkStateInfo instead of implementing redundant traits (#4436)
* Implement local_peer_id for gossip * refactor local_peer_id * fix * reset gossip * Update tests.rs * fix ci * fix review * fix Cargo.lock * fix Cargo.lock
This commit is contained in:
@@ -33,7 +33,7 @@ use sc_service::{
|
||||
Roles,
|
||||
Error,
|
||||
};
|
||||
use sc_network::{multiaddr, Multiaddr};
|
||||
use sc_network::{multiaddr, Multiaddr, NetworkStateInfo};
|
||||
use sc_network::config::{NetworkConfiguration, TransportConfig, NodeKeyConfig, Secret, NonReservedPeerMode};
|
||||
use sp_runtime::{generic::BlockId, traits::Block as BlockT};
|
||||
use sp_transaction_pool::TransactionPool;
|
||||
|
||||
Reference in New Issue
Block a user