Improv: On new block push, simultaneously send new mempool stats.

This commit is contained in:
softsimon 2020-07-20 10:44:05 +07:00
parent a36cca73f4
commit 2954b30209

View File

@ -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']) {