mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 05:34:03 +01:00
always send 6 latest transactions to websocket clients
This commit is contained in:
parent
a7ec9138c3
commit
bf5a16b043
@ -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…
Reference in New Issue
Block a user