don't kill bootstrap

pull/606/head v0.4.2½
Jeff Becker 5 years ago
parent d7fb54c957
commit 8018207e98
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1234,6 +1234,8 @@ namespace llarp
// kill nodes that are not allowed by network policy
nodedb()->RemoveIf([&](const RouterContact &rc) -> bool {
if(IsBootstrapNode(rc.pubkey))
return false;
return !ConnectionToRouterAllowed(rc.pubkey);
});

Loading…
Cancel
Save