display genesis block

This commit is contained in:
Antoni Spaanderman 2022-01-19 17:11:35 +01:00
parent 3608fa6f19
commit e59f610a75
No known key found for this signature in database
GPG Key ID: AE0B68E552E5DF8C
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ export class StateService {
network = ''; network = '';
blockVSize: number; blockVSize: number;
env: Env; env: Env;
latestBlockHeight = 0; latestBlockHeight = -1;
networkChanged$ = new ReplaySubject<string>(1); networkChanged$ = new ReplaySubject<string>(1);
blocks$: ReplaySubject<[Block, boolean]>; blocks$: ReplaySubject<[Block, boolean]>;

View File

@ -67,7 +67,7 @@ export class WebsocketService {
clearTimeout(this.onlineCheckTimeout); clearTimeout(this.onlineCheckTimeout);
clearTimeout(this.onlineCheckTimeoutTwo); clearTimeout(this.onlineCheckTimeoutTwo);
this.stateService.latestBlockHeight = 0; this.stateService.latestBlockHeight = -1;
this.websocketSubject.complete(); this.websocketSubject.complete();
this.subscription.unsubscribe(); this.subscription.unsubscribe();