]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - khashmir.py
fix peer update problem connection refused in store value
[quix0rs-apt-p2p.git] / khashmir.py
index b0325b1f897cb5eef82efacec33ac65d79c48da8..a41fc17e6441c00d5edb0b2d79eb625bfccc83cf 100644 (file)
@@ -130,7 +130,7 @@ class Khashmir(xmlrpc.XMLRPC):
                    def default(err, node=node, table=table):
                        table.nodeFailed(node)
                    df = node.storeValue(key, value, self.node.senderDict())
-                   df.addCallback(cb)
+                   df.addCallbacks(cb, lambda: None)
        # this call is asynch
        self.findNode(key, _storeValueForKey)