Fix fee range inconsistencies
This commit is contained in:
		
							parent
							
								
									804640216f
								
							
						
					
					
						commit
						3c022ad755
					
				@ -645,9 +645,12 @@ class Blocks {
 | 
			
		||||
            logger.info(`Re-indexed 10 blocks and summaries. Also re-indexed the last difficulty adjustments. Will re-index latest hashrates in a few seconds.`, logger.tags.mining);
 | 
			
		||||
            indexer.reindex();
 | 
			
		||||
          }
 | 
			
		||||
          await blocksRepository.$saveBlockInDatabase(blockExtended);
 | 
			
		||||
          this.updateTimerProgress(timer, `saved ${this.currentBlockHeight} to database`);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        await blocksRepository.$saveBlockInDatabase(blockExtended);
 | 
			
		||||
        this.updateTimerProgress(timer, `saved ${this.currentBlockHeight} to database`);
 | 
			
		||||
 | 
			
		||||
        if (!fastForwarded) {
 | 
			
		||||
          const lastestPriceId = await PricesRepository.$getLatestPriceId();
 | 
			
		||||
          this.updateTimerProgress(timer, `got latest price id ${this.currentBlockHeight}`);
 | 
			
		||||
          if (priceUpdater.historyInserted === true && lastestPriceId !== null) {
 | 
			
		||||
 | 
			
		||||
@ -121,7 +121,7 @@
 | 
			
		||||
    <ng-container *ngIf="!isLoadingBlock; else loadingRest">
 | 
			
		||||
      <tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'">
 | 
			
		||||
        <td i18n="mempool-block.fee-span">Fee span</td>
 | 
			
		||||
        <td><span>{{ block.extras.feeRange[1] | number:'1.0-0' }} - {{ block.extras.feeRange[block.extras.feeRange.length - 1] | number:'1.0-0' }} <span class="symbol" i18n="shared.sat-vbyte|sat/vB">sat/vB</span></span></td>
 | 
			
		||||
        <td><span>{{ block.extras.feeRange[0] | number:'1.0-0' }} - {{ block.extras.feeRange[block.extras.feeRange.length - 1] | number:'1.0-0' }} <span class="symbol" i18n="shared.sat-vbyte|sat/vB">sat/vB</span></span></td>
 | 
			
		||||
      </tr>
 | 
			
		||||
      <tr *ngIf="block?.extras?.medianFee != undefined">
 | 
			
		||||
        <td class="td-width" i18n="block.median-fee">Median fee</td>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user