mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +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();
|
||||
}
|
||||
|
||||
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();
|
||||
helper.add("pub HEX", getPublicKeyAsHex());
|
||||
if (includePrivate) {
|
||||
|
Reference in New Issue
Block a user