From 604f175a43e464f09a5b2e8f4fb8bf3261833344 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Wed, 14 Feb 2024 12:03:46 -0600 Subject: [PATCH] reset chain height time started var --- .../wallet/wallet_mixin_interfaces/electrumx_interface.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart b/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart index bacc814b9..ec244b0b4 100644 --- a/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart +++ b/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart @@ -938,6 +938,9 @@ mixin ElectrumXInterface on Bip39HDWallet { ); ElectrumxChainHeightService.completers[cryptoCurrency.coin] = null; + // Reset time started. + ElectrumxChainHeightService.timeStarted[cryptoCurrency.coin] = null; + // Retry/recurse. return await _manageChainHeightSubscription(); }