diff --git a/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart b/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart index 78847397e..07e48b7bc 100644 --- a/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart +++ b/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart @@ -34,7 +34,7 @@ import 'package:stream_channel/stream_channel.dart'; mixin ElectrumXInterface on Bip39HDWallet { late ElectrumXClient electrumXClient; - late StreamChannel electrumAdapterChannel; + late StreamChannel electrumAdapterChannel; late ElectrumClient electrumAdapterClient; late CachedElectrumXClient electrumXCachedClient; // late SubscribableElectrumXClient subscribableElectrumXClient; @@ -906,7 +906,7 @@ mixin ElectrumXInterface on Bip39HDWallet { final newNode = await _getCurrentElectrumXNode(); try { await electrumXClient.electrumAdapterClient?.close(); - } catch (e, s) { + } catch (e) { if (e.toString().contains("initialized")) { // Ignore. This should happen every first time the wallet is opened. } else { @@ -1189,8 +1189,6 @@ mixin ElectrumXInterface on Bip39HDWallet { coin: cryptoCurrency.coin, ); - print("txn: $txn"); - final vout = jsonUTXO["tx_pos"] as int; final outputs = txn["vout"] as List;