Unverified Commit 51891c97 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

fix connections leak (#3219)

* fix connections leak

* fix compilation
parent 5115f3b9
Pipeline #141936 passed with stages
in 32 minutes and 2 seconds
......@@ -189,6 +189,7 @@ impl Network for Arc<NetworkService<Block, Hash>> {
async fn remove_from_peers_set(&mut self, protocol: Cow<'static, str>, multiaddresses: HashSet<Multiaddr>) -> Result<(), String> {
sc_network::NetworkService::remove_peers_from_reserved_set(&**self, protocol.clone(), multiaddresses.clone())?;
sc_network::NetworkService::remove_from_peers_set(&**self, protocol, multiaddresses)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment