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

@@ -6,7 +6,7 @@ import projectedBlocks from './mempool-blocks';
class FeeApi {
constructor() { }
defaultFee = config.MEMPOOL.NETWORK === 'liquid' ? 0.1 : 1;
defaultFee = config.MEMPOOL.NETWORK === 'liquid' || config.MEMPOOL.NETWORK === 'liquidtestnet' ? 0.1 : 1;
public getRecommendedFee() {
const pBlocks = projectedBlocks.getMempoolBlocks();