mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 19:41:24 +00:00
Wallet: Fix NullPointerException in isRequiringUpdateAllBloomFilter() when calculating the filter for a basic wallet.
This commit is contained in:
@@ -4807,9 +4807,10 @@ public class Wallet extends BaseTaggableObject
|
|||||||
try {
|
try {
|
||||||
if (!watchedScripts.isEmpty())
|
if (!watchedScripts.isEmpty())
|
||||||
return true;
|
return true;
|
||||||
for (DeterministicKeyChain chain : keyChainGroup.chains)
|
if (keyChainGroup.chains != null)
|
||||||
if (chain.getOutputScriptType() == Script.ScriptType.P2WPKH)
|
for (DeterministicKeyChain chain : keyChainGroup.chains)
|
||||||
return true;
|
if (chain.getOutputScriptType() == Script.ScriptType.P2WPKH)
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
} finally {
|
} finally {
|
||||||
keyChainGroupLock.unlock();
|
keyChainGroupLock.unlock();
|
||||||
|
Reference in New Issue
Block a user