mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
ECKey: Add missing @Nullable on toString().
This commit is contained in:
parent
ac37ed4087
commit
59060e91d2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue