mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-24 22:55:49 +00:00
Clean nodes on reconnect (#68)
This commit is contained in:
@@ -86,7 +86,8 @@ export class Connection {
|
|||||||
|
|
||||||
this.state = this.update({
|
this.state = this.update({
|
||||||
status: 'online',
|
status: 'online',
|
||||||
nodes: new Map()
|
nodes: new Map(),
|
||||||
|
sortedNodes: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.state.subscribed) {
|
if (this.state.subscribed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user