mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 03:57:25 -04:00
SimpleMode: allow wrong local daemon version
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user