fixed DHT bug
This commit is contained in:
parent
ce18e3b907
commit
cb5bad09a4
|
@ -521,7 +521,7 @@ bool routing_table::need_bootstrap() const
|
||||||
, end(m_buckets.end()); i != end; ++i)
|
, end(m_buckets.end()); i != end; ++i)
|
||||||
{
|
{
|
||||||
for (bucket_t::const_iterator j = i->live_nodes.begin()
|
for (bucket_t::const_iterator j = i->live_nodes.begin()
|
||||||
, end(i->live_nodes.end()); j != end; ++i)
|
, end(i->live_nodes.end()); j != end; ++j)
|
||||||
{
|
{
|
||||||
if (j->confirmed()) return false;
|
if (j->confirmed()) return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue