NetDB: Increase min FF version for LS lookups since most are LS2 now

This commit is contained in:
zzz
2020-11-22 19:46:18 +00:00
parent 151f856b0a
commit 875fcdfb94

View File

@@ -321,7 +321,8 @@ public class IterativeSearchJob extends FloodSearchJob {
// querying old floodfills that don't know about those sig types.
// This is also more recent than the version that supports encrypted replies,
// so we won't request unencrypted replies anymore either.
if (!StoreJob.shouldStoreTo(ri)) {
if (!StoreJob.shouldStoreTo(ri) ||
(_isLease && !StoreJob.shouldStoreLS2To(ri))) {
failed(peer, false);
if (_log.shouldInfo())
_log.info(getJobId() + ": not sending query to old router: " + ri);