This commit is contained in:
Jeff Becker 2020-03-09 11:08:56 -04:00
parent 5d86587aab
commit 5191af1525
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 1 deletions

View File

@ -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