always send 6 latest transactions to websocket clients
This commit is contained in:
		
							parent
							
								
									bc5ef0b3ce
								
							
						
					
					
						commit
						a0ed3fa31a
					
				@ -419,7 +419,7 @@ class WebsocketHandler {
 | 
			
		||||
    memPool.addToSpendMap(newTransactions);
 | 
			
		||||
    const recommendedFees = feeApi.getRecommendedFee();
 | 
			
		||||
 | 
			
		||||
    const latestTransactions = newTransactions.slice(0, 6).map((tx) => Common.stripTransaction(tx));
 | 
			
		||||
    const latestTransactions = memPool.getLatestTransactions();
 | 
			
		||||
 | 
			
		||||
    // update init data
 | 
			
		||||
    const socketDataFields = {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user