Skip to content

Commit e8cb021

Browse files
committed
this shouldn't affect anything too negatively
1 parent 7579548 commit e8cb021

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/wallets/wallet/impl/epiccash_wallet.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,9 @@ class EpiccashWallet extends Bip39Wallet {
15501550
Future<void> updateNode() async {
15511551
_epicNode = getCurrentNode();
15521552

1553-
libEpic.updateConfig(wallet: _wallet!, config: await _buildConfig());
1553+
if (_wallet != null) {
1554+
libEpic.updateConfig(wallet: _wallet!, config: await _buildConfig());
1555+
}
15541556

15551557
// unawaited(refresh());
15561558
}

0 commit comments

Comments
 (0)