Show cumulated fee on last mempool block

This commit is contained in:
nymkappa 2023-03-12 19:13:39 +09:00
parent b364f5b8fe
commit 392fa59a10

View File

@ -214,6 +214,7 @@ export class MempoolBlocksComponent implements OnInit, OnDestroy {
lastBlock.feeRange = lastBlock.feeRange.concat(block.feeRange);
lastBlock.feeRange.sort((a, b) => a - b);
lastBlock.medianFee = this.median(lastBlock.feeRange);
lastBlock.totalFees += block.totalFees;
}
return blocks;
}