Router: remove 'Confirm Succeess' from ISJ, closes #455

This commit is contained in:
eyedeekay
2023-10-16 19:38:52 -04:00
parent de2b122f7b
commit 2af65243a4

View File

@@ -702,7 +702,6 @@ public class IterativeSearchJob extends FloodSearchJob {
// we will credit the wrong one.
int tries;
Hash peer = null;
Destination dest = null;
synchronized(this) {
if (_dead) return;
@@ -715,14 +714,6 @@ public class IterativeSearchJob extends FloodSearchJob {
}
}
// Confirm success by checking for the Lease Set in local storage
if (_isLease) {
dest = getContext().netDb().lookupDestinationLocally(_key);
if ((dest == null) && (_log.shouldLog(Log.WARN)))
_log.warn("Warning! Lease Set not found in persistent data store for key = " + _key);
}
_facade.complete(_key);
if (peer != null) {
Long timeSent = _sentTime.get(peer);