possible bugfix

This commit is contained in:
julian 2024-04-23 16:04:29 -06:00
parent 32809a93fa
commit f8b9c64ef0

View file

@ -230,7 +230,7 @@ class ElectrumXClient {
// If the current ElectrumAdapterClient is closed, create a new one. // If the current ElectrumAdapterClient is closed, create a new one.
if (getElectrumAdapter() != null && getElectrumAdapter()!.peer.isClosed) { if (getElectrumAdapter() != null && getElectrumAdapter()!.peer.isClosed) {
_electrumAdapterChannel = null; _electrumAdapterChannel = null;
ClientManager.sharedInstance.remove(cryptoCurrency: cryptoCurrency); await ClientManager.sharedInstance.remove(cryptoCurrency: cryptoCurrency);
} }
final String useHost; final String useHost;