Remove direct rep_crawler query in add_initial_peers as all peers are queried via an observer set in rep_crawler::rep_crawler.
This commit is contained in:
parent
3159a5cdc8
commit
ff76c1eb37
1 changed files with 0 additions and 4 deletions
|
|
@ -1218,10 +1218,6 @@ void nano::node::add_initial_peers ()
|
||||||
if (auto node_l = node_w.lock ())
|
if (auto node_l = node_w.lock ())
|
||||||
{
|
{
|
||||||
node_l->network.send_keepalive (channel_a);
|
node_l->network.send_keepalive (channel_a);
|
||||||
if (!node_l->flags.disable_rep_crawler)
|
|
||||||
{
|
|
||||||
node_l->rep_crawler.query (channel_a);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue