display genesis block
This commit is contained in:
		
							parent
							
								
									3608fa6f19
								
							
						
					
					
						commit
						e59f610a75
					
				@ -69,7 +69,7 @@ export class StateService {
 | 
			
		||||
  network = '';
 | 
			
		||||
  blockVSize: number;
 | 
			
		||||
  env: Env;
 | 
			
		||||
  latestBlockHeight = 0;
 | 
			
		||||
  latestBlockHeight = -1;
 | 
			
		||||
 | 
			
		||||
  networkChanged$ = new ReplaySubject<string>(1);
 | 
			
		||||
  blocks$: ReplaySubject<[Block, boolean]>;
 | 
			
		||||
 | 
			
		||||
@ -67,7 +67,7 @@ export class WebsocketService {
 | 
			
		||||
        clearTimeout(this.onlineCheckTimeout);
 | 
			
		||||
        clearTimeout(this.onlineCheckTimeoutTwo);
 | 
			
		||||
 | 
			
		||||
        this.stateService.latestBlockHeight = 0;
 | 
			
		||||
        this.stateService.latestBlockHeight = -1;
 | 
			
		||||
 | 
			
		||||
        this.websocketSubject.complete();
 | 
			
		||||
        this.subscription.unsubscribe();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user