forked from I2P_Developers/i2p.i2p
Data: Consolidate toBase32() code
This commit is contained in:
@@ -195,7 +195,7 @@ public class Destination extends KeysAndCert {
|
||||
*/
|
||||
public String toBase32() {
|
||||
try {
|
||||
return Base32.encode(getHash().getData()) + ".b32.i2p";
|
||||
return getHash().toBase32();
|
||||
} catch (IllegalStateException ise) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user