From 12669ea48e0228bae6758435af98a3eca5839dde Mon Sep 17 00:00:00 2001 From: Seth For Privacy <40500387+sethforprivacy@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:18:00 +0000 Subject: [PATCH] Test beta mempool instance --- cw_bitcoin/lib/electrum_wallet.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cw_bitcoin/lib/electrum_wallet.dart b/cw_bitcoin/lib/electrum_wallet.dart index e58fad00f..d8ae64503 100644 --- a/cw_bitcoin/lib/electrum_wallet.dart +++ b/cw_bitcoin/lib/electrum_wallet.dart @@ -489,7 +489,7 @@ abstract class ElectrumWalletBase if (await checkIfMempoolAPIIsEnabled()) { try { final response = - await http.get(Uri.parse("http://mempool.cakewallet.com:8999/api/v1/fees/recommended")); + await http.get(Uri.parse("http://mempool-beta.cakewallet.com:8999/api/v1/fees/recommended")); final result = json.decode(response.body) as Map; final slowFee = (result['economyFee'] as num?)?.toInt() ?? 0; @@ -1706,7 +1706,7 @@ abstract class ElectrumWalletBase try { final blockHash = await http.get( Uri.parse( - "http://mempool.cakewallet.com:8999/api/v1/block-height/$height", + "http://mempool-beta.cakewallet.com:8999/api/v1/block-height/$height", ), ); @@ -1715,7 +1715,7 @@ abstract class ElectrumWalletBase jsonDecode(blockHash.body) != null) { final blockResponse = await http.get( Uri.parse( - "http://mempool.cakewallet.com:8999/api/v1/block/${blockHash.body}", + "http://mempool-beta.cakewallet.com:8999/api/v1/block/${blockHash.body}", ), ); if (blockResponse.statusCode == 200 &&