Fix backend support for 'liquidtestnet' network

This commit is contained in:
softsimon
2021-12-31 01:26:45 +04:00
parent 40fb1792f4
commit 350b4922da
6 changed files with 14 additions and 10 deletions

View File

@@ -109,7 +109,8 @@ export class Common {
totalFees += tx.bestDescendant.fee;
}
tx.effectiveFeePerVsize = Math.max(config.MEMPOOL.NETWORK === 'liquid' ? 0.1 : 1, totalFees / (totalWeight / 4));
tx.effectiveFeePerVsize = Math.max(config.MEMPOOL.NETWORK === 'liquid'
|| config.MEMPOOL.NETWORK === 'liquidtestnet' ? 0.1 : 1, totalFees / (totalWeight / 4));
tx.cpfpChecked = true;
return {