From 4abda7bb58ae492cd30edf52cb4113f93cb014f3 Mon Sep 17 00:00:00 2001 From: Justin Ehrenhofer Date: Thu, 15 Dec 2022 09:03:04 -0600 Subject: [PATCH 1/2] Lower target confirmation to 2 --- cw_bitcoin/lib/electrum.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cw_bitcoin/lib/electrum.dart b/cw_bitcoin/lib/electrum.dart index afbc199a5..7449e0790 100644 --- a/cw_bitcoin/lib/electrum.dart +++ b/cw_bitcoin/lib/electrum.dart @@ -303,7 +303,7 @@ class ElectrumClient { Future> feeRates() async { try { final topDoubleString = await estimatefee(p: 1); - final middleDoubleString = await estimatefee(p: 20); + final middleDoubleString = await estimatefee(p: 2); final bottomDoubleString = await estimatefee(p: 100); final top = (stringDoubleToBitcoinAmount(topDoubleString.toString()) / 1000) From b30fe8bb2a0cb176f66a1156ce9766584b166c60 Mon Sep 17 00:00:00 2001 From: Justin Ehrenhofer Date: Thu, 15 Dec 2022 11:48:49 -0600 Subject: [PATCH 2/2] change to 5 this appears to be a more sensible value for medium --- cw_bitcoin/lib/electrum.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cw_bitcoin/lib/electrum.dart b/cw_bitcoin/lib/electrum.dart index 7449e0790..d856cb2bf 100644 --- a/cw_bitcoin/lib/electrum.dart +++ b/cw_bitcoin/lib/electrum.dart @@ -303,7 +303,7 @@ class ElectrumClient { Future> feeRates() async { try { final topDoubleString = await estimatefee(p: 1); - final middleDoubleString = await estimatefee(p: 2); + final middleDoubleString = await estimatefee(p: 5); final bottomDoubleString = await estimatefee(p: 100); final top = (stringDoubleToBitcoinAmount(topDoubleString.toString()) / 1000)