mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 12:01:24 +00:00
Wallet: Fix handling of wallet without deterministic chains in checkForFilterExhaustion().
This commit is contained in:
@@ -4880,6 +4880,8 @@ public class Wallet extends BaseTaggableObject
|
|||||||
public boolean checkForFilterExhaustion(FilteredBlock block) {
|
public boolean checkForFilterExhaustion(FilteredBlock block) {
|
||||||
keyChainGroupLock.lock();
|
keyChainGroupLock.lock();
|
||||||
try {
|
try {
|
||||||
|
if (!keyChainGroup.isSupportsDeterministicChains())
|
||||||
|
return false;
|
||||||
int epoch = keyChainGroup.getCombinedKeyLookaheadEpochs();
|
int epoch = keyChainGroup.getCombinedKeyLookaheadEpochs();
|
||||||
for (Transaction tx : block.getAssociatedTransactions().values()) {
|
for (Transaction tx : block.getAssociatedTransactions().values()) {
|
||||||
markKeysAsUsed(tx);
|
markKeysAsUsed(tx);
|
||||||
|
Reference in New Issue
Block a user