mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-25 12:05:54 +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 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;
|
||||||
|
|
Loading…
Reference in a new issue