diff options
| author | Adam Soltys <[email protected]> | 2026-03-11 23:51:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-11 23:51:53 -0700 |
| commit | 5347d890c4dca651500d6bdc31d4ae5d4ea20440 (patch) | |
| tree | e7c49474ac0bfdb08f953b6702f5e7aa7be87fdf /lib/cpfp.ts | |
| parent | 79252576d1bd24bc74fe1b7fc9cc3d4d68a1c8a0 (diff) | |
| download | coinos-server-5347d890c4dca651500d6bdc31d4ae5d4ea20440.tar.gz coinos-server-5347d890c4dca651500d6bdc31d4ae5d4ea20440.zip | |
tx recalc
Diffstat (limited to 'lib/cpfp.ts')
| -rw-r--r-- | lib/cpfp.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
