aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-11 23:51:53 -0700
committerAdam Soltys <[email protected]>2026-03-11 23:51:53 -0700
commit5347d890c4dca651500d6bdc31d4ae5d4ea20440 (patch)
treee7c49474ac0bfdb08f953b6702f5e7aa7be87fdf /routes
parent79252576d1bd24bc74fe1b7fc9cc3d4d68a1c8a0 (diff)
downloadcoinos-server-5347d890c4dca651500d6bdc31d4ae5d4ea20440.tar.gz
coinos-server-5347d890c4dca651500d6bdc31d4ae5d4ea20440.zip
tx recalc
Diffstat (limited to 'routes')
-rw-r--r--routes/payments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.ts b/routes/payments.ts
index f54364da..a41d187c 100644
--- a/routes/payments.ts
+++ b/routes/payments.ts
@@ -772,7 +772,7 @@ export default {
const fees: any = await fetch(`${api[PaymentType.bitcoin]}/fees/recommended`).then((r) =>
r.json(),
);
- const targetFeeRate = Math.ceil(fees.fastestFee * 1.5);
+ const targetFeeRate = Math.max(Math.ceil(fees.fastestFee * 1.5), 4);
const { txid, childFee } = await createCpfpChild(p, targetFeeRate);