indutny/dht.js — pull request #3 by superafroman (2013-03-05 22:15:37+00:00)
Title: Redistribute peer even when empty peer.list.

When a bucket is split early on in the node lifecycle but after a hash has been advertised for (i.e. no peers have been discovered) the bucket will forget the peer advertisement details. This patch ensures it's carried over to the correct new bucket on a split.