diff --git a/graphenej/src/main/java/cy/agorise/graphenej/PublicKey.java b/graphenej/src/main/java/cy/agorise/graphenej/PublicKey.java index f20f648..4dc5c05 100644 --- a/graphenej/src/main/java/cy/agorise/graphenej/PublicKey.java +++ b/graphenej/src/main/java/cy/agorise/graphenej/PublicKey.java @@ -53,4 +53,9 @@ public class PublicKey implements ByteSerializable, Serializable { PublicKey other = (PublicKey) obj; return this.publicKey.equals(other.getKey()); } + + @Override + public String toString() { + return getAddress(); + } } \ No newline at end of file