Various bugfixes.

This commit is contained in:
softsimon
2020-09-28 16:32:48 +07:00
parent e9d3b44e97
commit b95efca29d
9 changed files with 23 additions and 12 deletions

View File

@@ -10,9 +10,9 @@ class FeeApi {
const pBlocks = projectedBlocks.getMempoolBlocks();
if (!pBlocks.length) {
return {
'fastestFee': 0,
'halfHourFee': 0,
'hourFee': 0,
'fastestFee': this.defaultFee,
'halfHourFee': this.defaultFee,
'hourFee': this.defaultFee,
};
}
let firstMedianFee = Math.ceil(pBlocks[0].medianFee);