3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-19 13:45:48 +00:00

Wallet: Fix NullPointerException in isRequiringUpdateAllBloomFilter() when calculating the filter for a basic wallet.

This commit is contained in:
Andreas Schildbach 2019-03-19 17:47:42 +01:00
parent 7ca3dca222
commit f81eb9bc24

View File

@ -4807,6 +4807,7 @@ public class Wallet extends BaseTaggableObject
try {
if (!watchedScripts.isEmpty())
return true;
if (keyChainGroup.chains != null)
for (DeterministicKeyChain chain : keyChainGroup.chains)
if (chain.getOutputScriptType() == Script.ScriptType.P2WPKH)
return true;