From 2af65243a4c6855e1c9ae45078b5c907c9afc104 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 16 Oct 2023 19:38:52 -0400 Subject: [PATCH] Router: remove 'Confirm Succeess' from ISJ, closes #455 --- .../router/networkdb/kademlia/IterativeSearchJob.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/IterativeSearchJob.java b/router/java/src/net/i2p/router/networkdb/kademlia/IterativeSearchJob.java index 3b9f88b5cb..66112cf3b4 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/IterativeSearchJob.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/IterativeSearchJob.java @@ -702,7 +702,6 @@ void success() { // we will credit the wrong one. int tries; Hash peer = null; - Destination dest = null; synchronized(this) { if (_dead) return; @@ -715,14 +714,6 @@ void success() { } } - // 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);