diff --git a/core/src/main/java/org/bitcoinj/wallet/Wallet.java b/core/src/main/java/org/bitcoinj/wallet/Wallet.java index 04b1095db..f07225589 100644 --- a/core/src/main/java/org/bitcoinj/wallet/Wallet.java +++ b/core/src/main/java/org/bitcoinj/wallet/Wallet.java @@ -226,10 +226,10 @@ public class Wallet extends BaseTaggableObject // The key chain group is not thread safe, and generally the whole hierarchy of objects should not be mutated // outside the wallet lock. So don't expose this object directly via any accessors! - @GuardedBy("keyChainGroupLock") private KeyChainGroup keyChainGroup; + @GuardedBy("keyChainGroupLock") private final KeyChainGroup keyChainGroup; // A list of scripts watched by this wallet. - @GuardedBy("keyChainGroupLock") private Set