From bb3a58c65838121a9ccfb1386c9d94d8188ae878 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Wed, 15 Nov 2023 12:42:43 -0500 Subject: [PATCH] Router: remove unnecessary warning --- .../kademlia/HandleFloodfillDatabaseStoreMessageJob.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/HandleFloodfillDatabaseStoreMessageJob.java b/router/java/src/net/i2p/router/networkdb/kademlia/HandleFloodfillDatabaseStoreMessageJob.java index 55b43101f1..512c60767c 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/HandleFloodfillDatabaseStoreMessageJob.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/HandleFloodfillDatabaseStoreMessageJob.java @@ -130,9 +130,7 @@ public void runJob() { // a leaseSet which it is the owner/publisher of. // Look up a ls hash in the netDbSegmentor, and compare it to the _facade that we have. // If they are equal, reject the store. - if ((getContext().netDbSegmentor().clientNetDB(ls.getHash())).equals(_facade)) { - if (_log.shouldLog(Log.WARN)) - _log.warn("Attempt to store the leaseSet associated with our own client sub DB"); + if (getContext().netDbSegmentor().clientNetDB(ls.getHash()).equals(_facade)) { getContext().statManager().addRateData("netDb.storeLocalLeaseSetToLocalClient", 1, 0); dontBlamePeer = true; throw new IllegalArgumentException("(dbid: " + _facade._dbid