From a839a77939e470aa0a0fb2ee3a5e456d3a0a693e Mon Sep 17 00:00:00 2001 From: Jamie Holdstock Date: Fri, 18 Oct 2024 16:21:18 +0100 Subject: [PATCH] btc: estimatesmartfee in economical mode. (#3028) Conservative mode is known to massively overestimate transaction fees, and while economical mode still has issues and still overestimates, its not nearly as extreme. --- client/asset/btc/btc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/asset/btc/btc.go b/client/asset/btc/btc.go index c1a50142b5..918f429d53 100644 --- a/client/asset/btc/btc.go +++ b/client/asset/btc/btc.go @@ -1879,7 +1879,7 @@ func (btc *baseWallet) feeRate(confTarget uint64) (uint64, error) { } func rpcFeeRate(ctx context.Context, rr RawRequester, confTarget uint64) (uint64, error) { - feeResult, err := estimateSmartFee(ctx, rr, confTarget, &btcjson.EstimateModeConservative) + feeResult, err := estimateSmartFee(ctx, rr, confTarget, &btcjson.EstimateModeEconomical) if err != nil { return 0, err }