diff --git a/backend/src/api/common.ts b/backend/src/api/common.ts index e1021c234..a560bfdfe 100644 --- a/backend/src/api/common.ts +++ b/backend/src/api/common.ts @@ -105,7 +105,7 @@ export class Common { totalFees += tx.bestDescendant.fee; } - tx.effectiveFeePerVsize = totalFees / (totalWeight / 4); + tx.effectiveFeePerVsize = Math.max(1, totalFees / (totalWeight / 4)); tx.cpfpChecked = true; return {