Various fixes and design updates.

This commit is contained in:
Simon Lindh authored and wiz committed 2020-02-26 03:37:00 +09:00
1 parent 76fd441e07
commit 90a1fcaf8d
14 files changed
+55 -55

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ class Blocks {
transactions.sort((a, b) => b.feePerVsize - a.feePerVsize);
block.medianFee = transactions.length ? this.median(transactions.map((tx) => tx.feePerVsize)) : 0;
block.feeRange = transactions.length ? this.getFeesInRange(transactions, 8) : [];
block.feeRange = transactions.length ? this.getFeesInRange(transactions, 8) : [0, 0];
this.blocks.push(block);
if (this.blocks.length > config.KEEP_BLOCK_AMOUNT) {