committed by
Ignotus Peverell
parent
30a9c3db1e
commit
8f77933f4f
@@ -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)[..])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user