Transition new blocks from the mempool onto the blockchain.

Chime on new blocks.
fixes #47
fixes #84
This commit is contained in:
softsimon committed 2020-06-10 23:52:14 +07:00
1 parent 7801fa7a24
commit e0a451eb05
22 files changed
+124 -60

No files matched your search

@@ -34,7 +34,7 @@ export class LatestBlocksComponent implements OnInit, OnDestroy {
this.stateService.networkChanged$.subscribe((network) => this.network = network);
this.blockSubscription = this.stateService.blocks$
.subscribe((block) => {
.subscribe(([block]) => {
if (block === null || !this.blocks.length) {
return;
}