diff --git a/lib/electrumx_rpc/electrumx_client.dart b/lib/electrumx_rpc/electrumx_client.dart index dd64d64ef..768b90fc5 100644 --- a/lib/electrumx_rpc/electrumx_client.dart +++ b/lib/electrumx_rpc/electrumx_client.dart @@ -230,7 +230,7 @@ class ElectrumXClient { // If the current ElectrumAdapterClient is closed, create a new one. if (getElectrumAdapter() != null && getElectrumAdapter()!.peer.isClosed) { _electrumAdapterChannel = null; - ClientManager.sharedInstance.remove(cryptoCurrency: cryptoCurrency); + await ClientManager.sharedInstance.remove(cryptoCurrency: cryptoCurrency); } final String useHost;