Merge pull request #3974 from mempool/mononaut/missing-socket-init-data
Set missing websocket init data
This commit is contained in:
commit
c0f33e6b52
@ -236,7 +236,7 @@ class WebsocketHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (parsedMessage.action === 'init') {
|
if (parsedMessage.action === 'init') {
|
||||||
if (!this.socketData['blocks']?.length || !this.socketData['da']) {
|
if (!this.socketData['blocks']?.length || !this.socketData['da'] || !this.socketData['backendInfo'] || !this.socketData['conversions']) {
|
||||||
this.updateSocketData();
|
this.updateSocketData();
|
||||||
}
|
}
|
||||||
if (!this.socketData['blocks']?.length) {
|
if (!this.socketData['blocks']?.length) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user