From f8b9c64ef0134bd08ec1d4527a104827bad4f9de Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 23 Apr 2024 16:04:29 -0600 Subject: [PATCH] possible bugfix --- lib/electrumx_rpc/electrumx_client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;