replace client recent blocks on reorg

This commit is contained in:
Mononaut committed 2023-07-13 10:43:18 +09:00
1 parent 9cf961c667
commit e8c703fdbc
20 files changed
+153 -99

No files matched your search

@@ -56,7 +56,7 @@ export class TransactionsListComponent implements OnInit, OnChanges {
) { }
ngOnInit(): void {
this.latestBlock$ = this.stateService.blocks$.pipe(map(([block]) => block));
this.latestBlock$ = this.stateService.blocks$.pipe(map((blocks) => blocks[0]));
this.stateService.networkChanged$.subscribe((network) => this.network = network);
if (this.network === 'liquid' || this.network === 'liquidtestnet') {