Merge pull request #1929 from mempool/nymkappa/bugfix/minimum-effective-fee-is-zero

Minimum transaction fee is 0
This commit is contained in:
wiz 2022-06-27 00:07:52 +09:00 committed by GitHub
commit 07415d3871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {