mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-20 22:25:50 +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 {
|
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user