Print destination in b64

This commit is contained in:
HungryHobo
2010-11-08 03:23:19 +00:00
parent 31ff9b2747
commit 0e9f0a741e

View File

@ -67,6 +67,10 @@ class LookupDest {
}
public static void main(String args[]) {
System.out.println(lookupBase32Hash(I2PAppContext.getGlobalContext(), args[0]));
Destination dest = lookupBase32Hash(I2PAppContext.getGlobalContext(), args[0]);
if (dest == null)
System.out.println("Destination not found!");
else
System.out.println(dest.toBase64());
}
}