mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 12:01:24 +00:00
ECKey: Add missing @Nullable on toString().
This commit is contained in:
committed by
Andreas Schildbach
parent
7dcbd3a54c
commit
c509cdbd95
@@ -1264,7 +1264,7 @@ public class ECKey implements EncryptableItem {
|
|||||||
return getPrivateKeyEncoded(params).toString();
|
return getPrivateKeyEncoded(params).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private String toString(boolean includePrivate, @Nullable KeyParameter aesKey, NetworkParameters params) {
|
private String toString(boolean includePrivate, @Nullable KeyParameter aesKey, @Nullable NetworkParameters params) {
|
||||||
final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(this).omitNullValues();
|
final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(this).omitNullValues();
|
||||||
helper.add("pub HEX", getPublicKeyAsHex());
|
helper.add("pub HEX", getPublicKeyAsHex());
|
||||||
if (includePrivate) {
|
if (includePrivate) {
|
||||||
|
Reference in New Issue
Block a user