Don't send invs to unestablished connections

master
Peter Šurda 6 years ago
parent 18988ae2e6
commit 4c17a18006
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -38,6 +38,8 @@ class BMConnectionPool(object):
for i in self.inboundConnections.values() + self.outboundConnections.values():
if not isinstance(i, network.bmproto.BMProto):
continue
if not i.fullyEstablished:
continue
try:
del i.objectsNewToMe[hashid]
except KeyError:

Loading…
Cancel
Save