New backend config "NETWORK".

Only activate mempool protection.
Log network to
fixes #140
This commit is contained in:
softsimon
2020-10-15 11:07:53 +07:00
parent 372c116283
commit 86c654f22f
4 changed files with 8 additions and 5 deletions

View File

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