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 /routes | |
| parent | 79252576d1bd24bc74fe1b7fc9cc3d4d68a1c8a0 (diff) | |
| download | coinos-server-5347d890c4dca651500d6bdc31d4ae5d4ea20440.tar.gz coinos-server-5347d890c4dca651500d6bdc31d4ae5d4ea20440.zip | |
tx recalc
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); |
