Added a toString to the PublicKey class
This commit is contained in:
parent
57f8fb1aa4
commit
56c808c353
1 changed files with 5 additions and 0 deletions
|
@ -53,4 +53,9 @@ public class PublicKey implements ByteSerializable, Serializable {
|
||||||
PublicKey other = (PublicKey) obj;
|
PublicKey other = (PublicKey) obj;
|
||||||
return this.publicKey.equals(other.getKey());
|
return this.publicKey.equals(other.getKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return getAddress();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue