mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-25 11:47:59 +00:00
Fix chains merging (#62)
This commit is contained in:
@@ -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