From d2bca9236b17db03003c1d6fbc50798d47db5825 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Wed, 16 Nov 2022 17:48:38 +0100 Subject: [PATCH] fix: use 6 block of estimation fee Signed-off-by: Vincenzo Palazzo --- .../btcli4j/control/commands/btcprune/EstimateFeeBtc.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/vincenzopalazzo/btcli4j/control/commands/btcprune/EstimateFeeBtc.kt b/src/main/kotlin/io/vincenzopalazzo/btcli4j/control/commands/btcprune/EstimateFeeBtc.kt index a57ff76..7b9467f 100644 --- a/src/main/kotlin/io/vincenzopalazzo/btcli4j/control/commands/btcprune/EstimateFeeBtc.kt +++ b/src/main/kotlin/io/vincenzopalazzo/btcli4j/control/commands/btcprune/EstimateFeeBtc.kt @@ -47,7 +47,7 @@ class EstimateFeeBtc( // TODO: try to use this transaction getmempoolinfo // read this issue https://github.com/ElementsProject/lightning/issues/4473#issue-853325816 val params = Parameters("estimatesmartfee") - params.addParameter("conf_target", 2) + params.addParameter("conf_target", 6) // params.addParameter("estimate_mode", "CONSERVATIVE") val estimateFee = bitcoinRPC.makeBitcoinRequest(params, EstimateFeeBitcoin::class.java)