SimpleMode: allow wrong local daemon version

This commit is contained in:
xiphon 2019-09-26 23:35:32 +00:00
parent d3b81cb6f8
commit 9d40baa3ef

View file

@ -1843,7 +1843,7 @@ ApplicationWindow {
const disconnectedTimeoutSec = 30; const disconnectedTimeoutSec = 30;
const firstCheckDelaySec = 2; const firstCheckDelaySec = 2;
const connected = leftPanel.networkStatus.connected === Wallet.ConnectionStatus_Connected; const connected = leftPanel.networkStatus.connected !== Wallet.ConnectionStatus_Disconnected;
const firstRun = appWindow.disconnectedEpoch == 0; const firstRun = appWindow.disconnectedEpoch == 0;
if (firstRun) { if (firstRun) {
appWindow.disconnectedEpoch = Utils.epoch() + firstCheckDelaySec - disconnectedTimeoutSec; appWindow.disconnectedEpoch = Utils.epoch() + firstCheckDelaySec - disconnectedTimeoutSec;