merged fix from RC_1_0

This commit is contained in:
Arvid Norberg 2014-11-26 03:58:55 +00:00
parent 8ec7cff993
commit edade10561
1 changed files with 1 additions and 3 deletions

View File

@ -489,9 +489,7 @@ void node_impl::send_single_refresh(udp::endpoint const& ep, int bucket
if (ptr == 0) return;
TORRENT_ASSERT(bucket >= 0);
// sanity check
TORRENT_ASSERT(bucket <= 50);
TORRENT_ASSERT(bucket <= 159);
// generate a random node_id within the given bucket
// TODO: 2 it would be nice to have a bias towards node-id prefixes that