From a8de738e9bdd44b759e72dc4590c89fd36df1080 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Sat, 25 Jun 2022 19:06:26 +0200 Subject: [PATCH] Fixes the minium tx fee bug introduced in ecbd18087b267ba61b74477c973281b740edaf30 --- backend/src/api/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/common.ts b/backend/src/api/common.ts index d1c8cecbb..1dc9f66ea 100644 --- a/backend/src/api/common.ts +++ b/backend/src/api/common.ts @@ -114,7 +114,7 @@ export class Common { totalFees += tx.bestDescendant.fee; } - tx.effectiveFeePerVsize = Math.max(Common.isLiquid() ? 0.1 : 1, totalFees / (totalWeight / 4)); + tx.effectiveFeePerVsize = Math.max(0, totalFees / (totalWeight / 4)); tx.cpfpChecked = true; return {