From 70ae99f31a4ae104582f92d722d1d6e12b84f55d Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Fri, 7 Aug 2009 17:03:26 +0000
Subject: [PATCH] fix broken persistent key storage

---
 router/java/src/net/i2p/router/PersistentKeyRing.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/router/java/src/net/i2p/router/PersistentKeyRing.java b/router/java/src/net/i2p/router/PersistentKeyRing.java
index ec1ae24d58..7804333257 100644
--- a/router/java/src/net/i2p/router/PersistentKeyRing.java
+++ b/router/java/src/net/i2p/router/PersistentKeyRing.java
@@ -53,7 +53,7 @@ public class PersistentKeyRing extends KeyRing {
             if (key == null || key.length() != 44)
                 continue;
             String hb = prop.substring(PROP_PFX.length());
-            hb.replace("$", "=");
+            hb = hb.replace("$", "=");
             Hash dest = new Hash();
             SessionKey sk = new SessionKey();
             try {
-- 
GitLab