SimpleMode: ignore persistent daemon flags

This commit is contained in:
xiphon 2019-09-16 23:54:05 +00:00
parent ca8138bb46
commit 411505bff5

View file

@ -694,7 +694,6 @@ ApplicationWindow {
appWindow.showProcessingSplash(qsTr("Waiting for daemon to start..."))
const noSync = appWindow.walletMode === 0;
daemonManager.start(flags, persistentSettings.nettype, persistentSettings.blockchainDataDir, persistentSettings.bootstrapNodeAddress, noSync);
persistentSettings.daemonFlags = flags
}
function stopDaemon(){
@ -1879,7 +1878,7 @@ ApplicationWindow {
if (appWindow.daemonRunning) {
appWindow.stopDaemon();
}
appWindow.startDaemon(persistentSettings.daemonFlags);
appWindow.startDaemon("");
appWindow.disconnectedEpoch = Utils.epoch();
}