Get Median Fee on page reload
This commit is contained in:
		
							parent
							
								
									7a8b2db3fb
								
							
						
					
					
						commit
						47a6118ffb
					
				@ -97,6 +97,13 @@ export class BlockComponent implements OnInit, OnDestroy {
 | 
				
			|||||||
                })
 | 
					                })
 | 
				
			||||||
              );
 | 
					              );
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          this.stateService.blocks$.subscribe(([block]) => {
 | 
				
			||||||
 | 
					            if (block.id === blockHash) {
 | 
				
			||||||
 | 
					              this.block = block;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          });
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
          return this.electrsApiService.getBlock$(blockHash);
 | 
					          return this.electrsApiService.getBlock$(blockHash);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }),
 | 
					      }),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user