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