mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-21 14:48:55 +00:00
reset chain height time started var
This commit is contained in:
parent
77ecec400d
commit
604f175a43
1 changed files with 3 additions and 0 deletions
|
@ -938,6 +938,9 @@ mixin ElectrumXInterface<T extends Bip39HDCurrency> on Bip39HDWallet<T> {
|
||||||
);
|
);
|
||||||
ElectrumxChainHeightService.completers[cryptoCurrency.coin] = null;
|
ElectrumxChainHeightService.completers[cryptoCurrency.coin] = null;
|
||||||
|
|
||||||
|
// Reset time started.
|
||||||
|
ElectrumxChainHeightService.timeStarted[cryptoCurrency.coin] = null;
|
||||||
|
|
||||||
// Retry/recurse.
|
// Retry/recurse.
|
||||||
return await _manageChainHeightSubscription();
|
return await _manageChainHeightSubscription();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue