diff --git a/cw_bitcoin/lib/electrum_wallet.dart b/cw_bitcoin/lib/electrum_wallet.dart index bc6173d42..9cec0612d 100644 --- a/cw_bitcoin/lib/electrum_wallet.dart +++ b/cw_bitcoin/lib/electrum_wallet.dart @@ -491,7 +491,7 @@ abstract class ElectrumWalletBase @action @override - Future stopSync() async { + Future stopSync({bool isBackgroundSync = false}) async { syncStatus = NotConnectedSyncStatus(); try { await _receiveStream?.cancel(); diff --git a/cw_bitcoin/lib/litecoin_wallet.dart b/cw_bitcoin/lib/litecoin_wallet.dart index 44d1fa47a..a03e0ae0b 100644 --- a/cw_bitcoin/lib/litecoin_wallet.dart +++ b/cw_bitcoin/lib/litecoin_wallet.dart @@ -302,7 +302,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store { @action @override - Future startSync() async { + Future startSync({bool isBackgroundSync = false}) async { printV("startSync() called!"); printV("STARTING SYNC - MWEB ENABLED: $mwebEnabled"); if (!mwebEnabled) {