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 7dcbd3a54c
commit c509cdbd95

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