mirror of
https://github.com/mempool/mempool.git
synced 2026-08-19 13:18:06 +02:00
always send 6 latest transactions to websocket clients
This commit is contained in:
parent
a7ec9138c3
commit
bf5a16b043
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue