Print an error if we discover our own network identity (#6047)

* Add an error if we discover our own network identity

* Fix tests
This commit is contained in:
Pierre Krieger
2020-05-18 18:42:44 +02:00
committed by GitHub
parent d1bf24caef
commit 7536de97b1
4 changed files with 28 additions and 4 deletions
+1
View File
@@ -204,6 +204,7 @@ impl<B: BlockT + 'static, H: ExHashT> NetworkWorker<B, H> {
roles: From::from(&params.role),
max_parallel_downloads: params.network_config.max_parallel_downloads,
},
local_peer_id.clone(),
params.chain.clone(),
params.transaction_pool,
params.finality_proof_provider.clone(),