From e8cb02186a13f610a65b3eb32e017351ea37e69c Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 24 Jan 2026 12:24:30 -0600 Subject: [PATCH] this shouldn't affect anything too negatively --- lib/wallets/wallet/impl/epiccash_wallet.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/wallets/wallet/impl/epiccash_wallet.dart b/lib/wallets/wallet/impl/epiccash_wallet.dart index f7fca914b..66d929430 100644 --- a/lib/wallets/wallet/impl/epiccash_wallet.dart +++ b/lib/wallets/wallet/impl/epiccash_wallet.dart @@ -1550,7 +1550,9 @@ class EpiccashWallet extends Bip39Wallet { Future updateNode() async { _epicNode = getCurrentNode(); - libEpic.updateConfig(wallet: _wallet!, config: await _buildConfig()); + if (_wallet != null) { + libEpic.updateConfig(wallet: _wallet!, config: await _buildConfig()); + } // unawaited(refresh()); }