mirror of
https://github.com/mempool/mempool.git
synced 2025-03-15 12:20:28 +01:00
Improv: On new block push, simultaneously send new mempool stats.
This commit is contained in:
parent
5e16c592cb
commit
9fa95ccbe8
1 changed files with 2 additions and 1 deletions
|
@ -268,7 +268,8 @@ class WebsocketHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = {
|
const response = {
|
||||||
'block': block
|
'block': block,
|
||||||
|
'mempoolInfo': memPool.getMempoolInfo(),
|
||||||
};
|
};
|
||||||
|
|
||||||
if (mBlocks && client['want-mempool-blocks']) {
|
if (mBlocks && client['want-mempool-blocks']) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue