From aaf2155fa740666c0853141ab4304c1915e62d52 Mon Sep 17 00:00:00 2001 From: Matthew Leon Date: Sun, 5 May 2019 12:48:11 -0400 Subject: [PATCH] ECKey: Missing @Nullable on priv field. --- core/src/main/java/org/bitcoinj/core/ECKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/bitcoinj/core/ECKey.java b/core/src/main/java/org/bitcoinj/core/ECKey.java index a686a510..c703588c 100644 --- a/core/src/main/java/org/bitcoinj/core/ECKey.java +++ b/core/src/main/java/org/bitcoinj/core/ECKey.java @@ -148,7 +148,7 @@ public class ECKey implements EncryptableItem { // The two parts of the key. If "priv" is set, "pub" can always be calculated. If "pub" is set but not "priv", we // can only verify signatures not make them. - protected final BigInteger priv; // A field element. + @Nullable protected final BigInteger priv; // A field element. protected final LazyECPoint pub; // Creation time of the key in seconds since the epoch, or zero if the key was deserialized from a version that did