Show cumulated fee on last mempool block

This commit is contained in:
nymkappa 2023-03-12 19:13:39 +09:00
parent 7e676dbaf0
commit eba0e1c25a
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

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;
}