mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
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