diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/payments.ts | 2 |
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); |
