Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface
This commit is contained in:
1 parent
e5b5551d79
commit
a49cc9a2fa
19 files changed
+124
-77
No files matched your search
@@ -380,7 +380,9 @@ class WebsocketHandler {
|
||||
mBlocks = mempoolBlocks.getMempoolBlocks();
|
||||
}
|
||||
|
||||
block.matchRate = matchRate;
|
||||
if (block.extra) {
|
||||
block.extra.matchRate = matchRate;
|
||||
}
|
||||
|
||||
this.wss.clients.forEach((client) => {
|
||||
if (client.readyState !== WebSocket.OPEN) {
|
||||
|
||||
Reference in new issue
Block a user