Skip to content

Commit

Permalink
Router: make sure to use subdbs in HFDSMJ
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Aug 15, 2023
1 parent ecb3e2a commit b98654b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ else if (compareLeasesetDate.getEarliestLeaseDate() < ls.getEarliestLeaseDate())
//boolean rap = ls.getReceivedAsPublished();
//if (_log.shouldLog(Log.INFO))
// _log.info("oldrap? " + oldrap + " oldrar? " + oldrar + " newrap? " + rap);
LeaseSet match = getContext().netDb().store(key, ls);
LeaseSet match = _facade.store(key, ls);
if (match == null) {
wasNew = true;
} else if (match.getEarliestLeaseDate() < ls.getEarliestLeaseDate()) {
Expand Down Expand Up @@ -286,7 +286,7 @@ else if (_fromHash.equals(key))
}
}
if (shouldStore) {
prevNetDb = getContext().netDb().store(key, ri);
prevNetDb = _facade.store(key, ri);
wasNew = ((null == prevNetDb) || (prevNetDb.getPublished() < ri.getPublished()));
}
// Check new routerinfo address against blocklist
Expand Down

0 comments on commit b98654b

Please sign in to comment.