mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Remove missing peer error from connection manager (#1409)
This commit is contained in:
parent
4922e82a38
commit
a16dd32549
1 changed files with 0 additions and 6 deletions
|
|
@ -135,8 +135,6 @@ class ConnectionManager(object):
|
|||
"""
|
||||
with self.peers_lock:
|
||||
if not self.has_connection(peer.remote_address):
|
||||
# logger.debug('Failed to remove peer {}'.format(peer))
|
||||
# raise MissingPeerError()
|
||||
return
|
||||
del self._peers[peer.remote_address]
|
||||
logger.debug('Removed peer {}'.format(peer))
|
||||
|
|
@ -184,9 +182,5 @@ class DuplicateNonceError(Exception):
|
|||
pass
|
||||
|
||||
|
||||
# class MissingPeerError(Exception):
|
||||
# pass
|
||||
|
||||
|
||||
class NotAcceptingConnectionsError(Exception):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue