From d35b4e0f1ec62de01fa0dda1d60f52e79ca4e912 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 6 Nov 2023 17:13:50 -0500 Subject: [PATCH] Router: InboundMessageDistributor: Remove commented-out useless check --- .../net/i2p/router/tunnel/InboundMessageDistributor.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/router/java/src/net/i2p/router/tunnel/InboundMessageDistributor.java b/router/java/src/net/i2p/router/tunnel/InboundMessageDistributor.java index f17f58a6a5..d9223b0600 100644 --- a/router/java/src/net/i2p/router/tunnel/InboundMessageDistributor.java +++ b/router/java/src/net/i2p/router/tunnel/InboundMessageDistributor.java @@ -238,13 +238,6 @@ public void distribute(I2NPMessage msg, Hash target, TunnelId tunnel) { // Handling of client tunnel messages need explicit handling // in the context of the client subDb. if (_client != null) { - //Hash dbid = _context.netDbSegmentor().getDbidByHash(_client); - /*if (dbid == null) { - // This error shouldn't occur. All clients should have their own netDb. - if (_log.shouldLog(Log.ERROR)) - _log.error("Error, client (" + _clientNickname + ") dbid not found while processing messages in the IBMD."); - return; - }*/ // For now, the only client message we know how to handle here is a DSM. // There aren't normally DSM messages here, but it should be safe to store // them in the client netDb.