Show cumulated fee on last mempool block
This commit is contained in:
parent
7e676dbaf0
commit
eba0e1c25a
@ -214,6 +214,7 @@ export class MempoolBlocksComponent implements OnInit, OnDestroy {
|
|||||||
lastBlock.feeRange = lastBlock.feeRange.concat(block.feeRange);
|
lastBlock.feeRange = lastBlock.feeRange.concat(block.feeRange);
|
||||||
lastBlock.feeRange.sort((a, b) => a - b);
|
lastBlock.feeRange.sort((a, b) => a - b);
|
||||||
lastBlock.medianFee = this.median(lastBlock.feeRange);
|
lastBlock.medianFee = this.median(lastBlock.feeRange);
|
||||||
|
lastBlock.totalFees += block.totalFees;
|
||||||
}
|
}
|
||||||
return blocks;
|
return blocks;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user