We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7579548 commit e8cb021Copy full SHA for e8cb021
lib/wallets/wallet/impl/epiccash_wallet.dart
@@ -1550,7 +1550,9 @@ class EpiccashWallet extends Bip39Wallet {
1550
Future<void> updateNode() async {
1551
_epicNode = getCurrentNode();
1552
1553
- libEpic.updateConfig(wallet: _wallet!, config: await _buildConfig());
+ if (_wallet != null) {
1554
+ libEpic.updateConfig(wallet: _wallet!, config: await _buildConfig());
1555
+ }
1556
1557
// unawaited(refresh());
1558
}
0 commit comments