Fixes the minium tx fee bug introduced in ecbd18087b267ba61b74477c973281b740edaf30

This commit is contained in:
nymkappa 2022-06-25 19:06:26 +02:00
parent f1b1b00684
commit 7b13cdaa31

View File

@ -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 {