Wallet: Fix handling of wallet without deterministic chains in checkForFilterExhaustion().
@@ -4880,6 +4880,8 @@ public class Wallet extends BaseTaggableObject
public boolean checkForFilterExhaustion(FilteredBlock block) {
keyChainGroupLock.lock();
try {
+ if (!keyChainGroup.isSupportsDeterministicChains())
+ return false;
int epoch = keyChainGroup.getCombinedKeyLookaheadEpochs();
for (Transaction tx : block.getAssociatedTransactions().values()) {
markKeysAsUsed(tx);
