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:
clemahieu 2021-09-11 15:03:32 +01:00
commit ff76c1eb37
No known key found for this signature in database
GPG key ID: 43708520C8DFB938

View file

@ -1218,10 +1218,6 @@ void nano::node::add_initial_peers ()
if (auto node_l = node_w.lock ())
{
node_l->network.send_keepalive (channel_a);
if (!node_l->flags.disable_rep_crawler)
{
node_l->rep_crawler.query (channel_a);
}
}
});
}