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)
if contacted:
node.updateLastSeen()
# move node to end of bucket
+ xnode = self.buckets[i].l[it]
del(self.buckets[i].l[it])
# note that we removed the original and replaced it with the new one
# utilizing this nodes new contact info
- self.buckets[i].l.append(node)
+ self.buckets[i].l.append(xnode)
self.buckets[i].touch()
return