From 8f77933f4fbc409a89d29e2e88375eeddd3d54e6 Mon Sep 17 00:00:00 2001 From: Simon B Date: Tue, 12 Dec 2017 20:12:07 +0100 Subject: [PATCH] Fixes #469 (#470) --- p2p/src/store.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/p2p/src/store.rs b/p2p/src/store.rs index 8748ad45d..b31dc2315 100644 --- a/p2p/src/store.rs +++ b/p2p/src/store.rs @@ -109,6 +109,8 @@ impl PeerStore { self.db.exists(&peer_key(peer_addr)[..]) } + /// TODO - allow below added to avoid github issue reports + #[allow(dead_code)] pub fn delete_peer(&self, peer_addr: SocketAddr) -> Result<(), Error> { self.db.delete(&peer_key(peer_addr)[..]) }