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 5e16c592cb
commit 9fa95ccbe8
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

View file

@ -268,7 +268,8 @@ class WebsocketHandler {
}
const response = {
'block': block
'block': block,
'mempoolInfo': memPool.getMempoolInfo(),
};
if (mBlocks && client['want-mempool-blocks']) {