Permalink
Browse files

[DDW-519] Prevent Cardano state being lost after disconnect event

  • Loading branch information...
nikolaglumac committed Dec 6, 2018
1 parent 6ac64f6 commit 52026e6d048df49fedddadc439156e9877daad4e
Showing with 0 additions and 2 deletions.
  1. +0 −2 source/renderer/app/stores/NetworkStatusStore.js
@@ -386,12 +386,10 @@ export default class NetworkStatusStore extends Store {
};
@action _setDisconnected = (wasConnected: boolean) => {
this.cardanoNodeState = null;
this.isNodeResponding = false;
this.isNodeSubscribed = false;
this.isNodeSyncing = false;
this.isNodeInSync = false;
this._tlsConfig = null;
if (wasConnected) {
if (!this.hasBeenConnected) {
runInAction('update hasBeenConnected', () => this.hasBeenConnected = true);

0 comments on commit 52026e6

Please sign in to comment.