mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-21 19:16:20 +00:00
Fix chains merging (#62)
This commit is contained in:
1 parent
c4202b701c
commit
c4bfc47c8a
1 file changed
+2
-3
@@ -267,8 +267,7 @@ export class Connection {
|
||||
if (this.state.subscribed === message.payload) {
|
||||
nodes.clear();
|
||||
sortedNodes = [];
|
||||
|
||||
this.state = this.update({ subscribed: null, nodes, chains });
|
||||
this.state = this.update({ subscribed: null, nodes, chains, sortedNodes });
|
||||
|
||||
continue messages;
|
||||
}
|
||||
@@ -286,7 +285,7 @@ export class Connection {
|
||||
if (this.state.subscribed === message.payload) {
|
||||
nodes.clear();
|
||||
sortedNodes = [];
|
||||
this.state = this.update({ subscribed: null, nodes });
|
||||
this.state = this.update({ subscribed: null, nodes, sortedNodes });
|
||||
}
|
||||
|
||||
continue messages;
|
||||
|
||||
Reference in new issue
Block a user