ECKey: Add missing @Nullable on toString().

This commit is contained in:
Matthew Leon 2019-04-04 21:42:15 -04:00 committed by Andreas Schildbach
parent ac37ed4087
commit 59060e91d2

View file

@ -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) {