Skip to content

Commit

Permalink
Router: Don't try to convert blindedType toString in log
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Oct 9, 2023
1 parent 95588cf commit 4d2c2dc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public BlindCache(RouterContext ctx, Hash subDb) {
PERSIST_FILE = "router.blindcache.dat";
_dbid = "main";
}

}

/**
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 4d2c2dc

Please sign in to comment.