aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/payments.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index 634d3543..88b9230d 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -545,7 +545,9 @@ export const build = async ({
r.json(),
);
- fees.fastestFee *= 1.1;
+ fees.hourFee = fees.halfHourFee;
+ fees.halfHourFee = fees.fastestFee;
+ fees.fastestFee = Math.round(fees.fastestFee * 1.1);
if (!feeRate) {
feeRate = fees.halfHourFee;