Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									047a06aae6
								
							
						
					
					
						commit
						54b7303808
					
				@ -188,7 +188,10 @@ class Mempool {
 | 
			
		||||
          logger.debug('Breaking mempool loop because the 5s time limit exceeded.');
 | 
			
		||||
          break;
 | 
			
		||||
        } else {
 | 
			
		||||
          const progress = (currentMempoolSize + newTransactions.length) / transactions.length * 100;
 | 
			
		||||
          logger.debug(`Mempool is synchronizing. Processed ${newTransactions.length}/${diff} txs (${Math.round(progress)}%)`);
 | 
			
		||||
          loadingIndicators.setProgress('mempool', progress);
 | 
			
		||||
          intervalTimer = Date.now()
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user