Skip to content

Commit d35b4e0

Browse files
author
eyedeekay
committed
Router: InboundMessageDistributor: Remove commented-out useless check
1 parent 36d9473 commit d35b4e0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

router/java/src/net/i2p/router/tunnel/InboundMessageDistributor.java

-7
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,6 @@ public void distribute(I2NPMessage msg, Hash target, TunnelId tunnel) {
238238
// Handling of client tunnel messages need explicit handling
239239
// in the context of the client subDb.
240240
if (_client != null) {
241-
//Hash dbid = _context.netDbSegmentor().getDbidByHash(_client);
242-
/*if (dbid == null) {
243-
// This error shouldn't occur. All clients should have their own netDb.
244-
if (_log.shouldLog(Log.ERROR))
245-
_log.error("Error, client (" + _clientNickname + ") dbid not found while processing messages in the IBMD.");
246-
return;
247-
}*/
248241
// For now, the only client message we know how to handle here is a DSM.
249242
// There aren't normally DSM messages here, but it should be safe to store
250243
// them in the client netDb.

0 commit comments

Comments
 (0)