always send 6 latest transactions to websocket clients

This commit is contained in:
Mononaut 2023-07-17 11:02:28 +09:00
parent a7ec9138c3
commit bf5a16b043
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -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 = {