Fixes the minium tx fee bug introduced in ecbd18087b267ba61b74477c973281b740edaf30

This commit is contained in:
nymkappa 2022-06-25 19:06:26 +02:00
parent 24300eeac5
commit a8de738e9b
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

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 {