pull/1171/head
Jeff Becker 4 years ago
parent 5d86587aab
commit 5191af1525
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -728,7 +728,7 @@ namespace llarp
const bool gotWhitelist = _rcLookupHandler.HaveReceivedWhitelist();
// remove RCs for nodes that are no longer allowed by network policy
nodedb()->RemoveIf([&](const RouterContact &rc) -> bool {
// don't pruge bootstrap nodes from nodedb
// don't purge bootstrap nodes from nodedb
if(IsBootstrapNode(rc.pubkey))
return false;
// if for some reason we stored an RC that isn't a valid router

Loading…
Cancel
Save