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)[..]) }