mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 17:47:01 +01:00
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
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
Reference in a new issue