1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-16 14:55:33 +01:00

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 firstCheckDelaySec = 2;
const connected = leftPanel.networkStatus.connected === Wallet.ConnectionStatus_Connected;
const connected = leftPanel.networkStatus.connected !== Wallet.ConnectionStatus_Disconnected;
const firstRun = appWindow.disconnectedEpoch == 0;
if (firstRun) {
appWindow.disconnectedEpoch = Utils.epoch() + firstCheckDelaySec - disconnectedTimeoutSec;