Acceleration flag check on block view
This commit is contained in:
		
							parent
							
								
									9b6e60bfba
								
							
						
					
					
						commit
						09041c50ef
					
				| @ -134,7 +134,7 @@ export class BlockPreviewComponent implements OnInit, OnDestroy { | |||||||
|                   return of(transactions); |                   return of(transactions); | ||||||
|                 }) |                 }) | ||||||
|               ), |               ), | ||||||
|             block.height > 819500 ? this.apiService.getAccelerationHistory$({ blockHash: block.id }) : of([]) |             this.stateService.env.ACCELERATOR === true && block.height > 819500 ? this.apiService.getAccelerationHistory$({ blockHash: block.id }) : of([]) | ||||||
|           ]); |           ]); | ||||||
|         } |         } | ||||||
|       ), |       ), | ||||||
|  | |||||||
| @ -329,7 +329,7 @@ export class BlockComponent implements OnInit, OnDestroy { | |||||||
|                 return of(null); |                 return of(null); | ||||||
|               }) |               }) | ||||||
|             ), |             ), | ||||||
|           block.height > 819500 ? this.apiService.getAccelerationHistory$({ blockHash: block.id }) : of([]) |           this.stateService.env.ACCELERATOR === true && block.height > 819500 ? this.apiService.getAccelerationHistory$({ blockHash: block.id }) : of([]) | ||||||
|         ]); |         ]); | ||||||
|       }) |       }) | ||||||
|     ) |     ) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user