Restoring About page. Fix for KEEP_BLOCKS_AMOUNT setting. Show up to 2 mempool blocks.

This commit is contained in:
softsimon
2021-07-30 23:14:45 +03:00
parent b1fa1b854c
commit 6153f1c9de
3 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy {
}
this.blocks.unshift(block);
this.blocks = this.blocks.slice(0, 8);
this.blocks = this.blocks.slice(0, this.stateService.env.KEEP_BLOCKS_AMOUNT);
if (this.blocksFilled && !this.tabHidden) {
block.stage = block.matchRate >= 66 ? 1 : 2;