if a router is connected it's fine given it's a boostrap

pull/523/head
Jeff Becker 5 years ago
parent d5161d3d9a
commit 87ff9268da
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -216,8 +216,7 @@ namespace llarp
router->ForEachPeer(
[&](const ILinkSession* s, bool) {
const PubKey k(s->GetPubKey());
if(got || router->IsBootstrapNode(k)
|| router->routerProfiling().IsBadForConnect(k))
if(got || router->IsBootstrapNode(k))
return;
cur = s->GetRemoteRC();
got = true;

Loading…
Cancel
Save