Merge pull request #3976 from mempool/mononaut/six-latest-transactions
always send 6 latest transactions to websocket clients
This commit is contained in:
		
						commit
						8e114917a1
					
				| @ -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