From 4d2c2dc716ccc8976fa5b7dba4c14a1e88d196e1 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 9 Oct 2023 12:55:33 -0400 Subject: [PATCH] Router: Don't try to convert blindedType toString in log --- .../java/src/net/i2p/router/networkdb/kademlia/BlindCache.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/BlindCache.java b/router/java/src/net/i2p/router/networkdb/kademlia/BlindCache.java index d9b9749325..e1f61df0b9 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/BlindCache.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/BlindCache.java @@ -80,7 +80,6 @@ public BlindCache(RouterContext ctx, Hash subDb) { PERSIST_FILE = "router.blindcache.dat"; _dbid = "main"; } - } /** @@ -182,7 +181,7 @@ public Hash getBlindedHash(SigningPublicKey spk) { */ public void setBlinded(Destination dest, SigType blindedType, String secret) { if (_log.shouldLog(Log.DEBUG)) - _log.debug("setting blinded data for " + dest + " sigtype " + blindedType.toString() + " in blind cache for " + _dbid); + _log.debug("setting blinded data for " + dest + " sigtype " + blindedType + " in blind cache for " + _dbid); SigningPublicKey spk = dest.getSigningPublicKey(); BlindData bd = _cache.get(spk); if (bd != null) {