mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
SimpleMode: allow wrong local daemon version
This commit is contained in:
parent
d3b81cb6f8
commit
9d40baa3ef
1 changed files with 1 additions and 1 deletions
2
main.qml
2
main.qml
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue