Correct timer to get actual time to update bisq market data.
This commit is contained in:
		
							parent
							
								
									d0b3b240e6
								
							
						
					
					
						commit
						e8de73cfbc
					
				@ -91,9 +91,9 @@ class Bisq {
 | 
			
		||||
        this.tradesLastMtime = tradesMtime;
 | 
			
		||||
        marketsDataUpdated = true;
 | 
			
		||||
      }
 | 
			
		||||
      const time = new Date().getTime() - start;
 | 
			
		||||
      if (marketsDataUpdated) {
 | 
			
		||||
        bisqMarket.updateCache();
 | 
			
		||||
        const time = new Date().getTime() - start;
 | 
			
		||||
        console.log('Bisq market data updated in ' + time + ' ms');
 | 
			
		||||
      }
 | 
			
		||||
    } catch (e) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user