From 49d5a1eaf261526da7be6a86f758a44cd8b4bb9c Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 10 Jan 2024 10:08:38 -0600 Subject: [PATCH] prevent full epic sync on app load --- lib/wallets/wallet/impl/epiccash_wallet.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallets/wallet/impl/epiccash_wallet.dart b/lib/wallets/wallet/impl/epiccash_wallet.dart index ef3cd1966..ccae66a2b 100644 --- a/lib/wallets/wallet/impl/epiccash_wallet.dart +++ b/lib/wallets/wallet/impl/epiccash_wallet.dart @@ -579,7 +579,7 @@ class EpiccashWallet extends Bip39Wallet { key: '${walletId}_wallet', value: walletOpen); await updateNode(); - await updateBalance(); + // unawaited(updateBalance()); // TODO: is there anything else that should be set up here whenever this wallet is first loaded again? } } @@ -1074,7 +1074,7 @@ class EpiccashWallet extends Bip39Wallet { value: stringConfig, ); - await refresh(); + unawaited(refresh()); } @override