Transition new blocks from the mempool onto the blockchain.

Chime on new blocks.
fixes #47
fixes #84
This commit is contained in:
softsimon
2020-06-10 23:52:14 +07:00
parent ea708de9fb
commit 36e46249b5
22 changed files with 124 additions and 60 deletions

View File

@@ -120,7 +120,7 @@ export class BlockComponent implements OnInit, OnDestroy {
});
this.stateService.blocks$
.subscribe((block) => this.latestBlock = block);
.subscribe(([block]) => this.latestBlock = block);
this.stateService.networkChanged$
.subscribe((network) => this.network = network);