summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7b1167d)
Fixes a bug introduced by commit:
6ce38471: fix peer update problem connection refused in store value
# It responded, so update it
node.updateLastSeen()
# move node to end of bucket
# It responded, so update it
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
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(xnode)
+ self.buckets[i].l.append(node)
self.buckets[i].touch()
return
self.buckets[i].touch()
return