Added a toString to the PublicKey class
parent
57f8fb1aa4
commit
56c808c353
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue