Dandelion fix

- thanks to g1itch for reporting
- addresses #1049
This commit is contained in:
Peter Šurda 2017-10-02 08:02:29 +02:00
parent b1442ecb0a
commit 6548999a49
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -35,7 +35,7 @@ class InvThread(threading.Thread, StoppableThread):
data = invQueue.get(False)
# locally generated
if len(data) == 2:
DandelionStems.add(data[1], None, self.dandelionRoutes)
DandelionStems().add(data[1], None, self.dandelionRoutes)
BMConnectionPool().handleReceivedObject(data[0], data[1])
# came over the network
else: