Added a toString to the PublicKey class

This commit is contained in:
Nelson R. Perez 2018-06-11 15:12:16 -05:00
parent 57f8fb1aa4
commit 56c808c353

View file

@ -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();
}
}