From 5347d890c4dca651500d6bdc31d4ae5d4ea20440 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 11 Mar 2026 23:51:53 -0700 Subject: tx recalc --- lib/cpfp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/cpfp.ts') diff --git a/lib/cpfp.ts b/lib/cpfp.ts index 20171acc..cb1bbcbf 100644 --- a/lib/cpfp.ts +++ b/lib/cpfp.ts @@ -293,7 +293,7 @@ export async function buildCpfpSend({ "payments:", paymentOutputs.length); // Calculate User B's bump reserve for this child - const fastestFee = Math.ceil(fees.fastestFee * 1.5); + const fastestFee = Math.max(Math.ceil(fees.fastestFee * 1.5), 4); const childBumpReserve = calculateBumpReserve(feeRate, fastestFee, decoded.vsize); return { -- cgit v1.2.3