diff --git a/installer/tools/java/src/net/i2p/router/networkdb/kademlia/BundleRouterInfos.java b/installer/tools/java/src/net/i2p/router/networkdb/kademlia/BundleRouterInfos.java index cab5991d3..0dadc097f 100644 --- a/installer/tools/java/src/net/i2p/router/networkdb/kademlia/BundleRouterInfos.java +++ b/installer/tools/java/src/net/i2p/router/networkdb/kademlia/BundleRouterInfos.java @@ -24,6 +24,7 @@ import java.util.Properties; import gnu.getopt.Getopt; import net.i2p.I2PAppContext; +import net.i2p.data.Base64; import net.i2p.data.DataFormatException; import net.i2p.data.Hash; import net.i2p.data.router.RouterAddress; @@ -120,8 +121,8 @@ public class BundleRouterInfos { int routerCount = 0; List toRead = new ArrayList(2048); - for (int j = 0; j < PersistentDataStore.B64.length(); j++) { - File subdir = new File(dbDir, PersistentDataStore.DIR_PREFIX + PersistentDataStore.B64.charAt(j)); + for (int j = 0; j < Base64.ALPHABET_I2P.length(); j++) { + File subdir = new File(dbDir, PersistentDataStore.DIR_PREFIX + Base64.ALPHABET_I2P.charAt(j)); File[] files = subdir.listFiles(PersistentDataStore.RouterInfoFilter.getInstance()); if (files == null) continue;