display genesis block
This commit is contained in:
		
							parent
							
								
									3608fa6f19
								
							
						
					
					
						commit
						e59f610a75
					
				@ -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]>;
 | 
				
			||||||
 | 
				
			|||||||
@ -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();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user