Merge pull request #2392

411505b SimpleMode: ignore persistent daemon flags (xiphon)
This commit is contained in:
luigi1111 2019-09-24 10:51:29 -05:00
commit dd1046b31f
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -689,7 +689,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(){
@ -1863,7 +1862,7 @@ ApplicationWindow {
if (appWindow.daemonRunning) {
appWindow.stopDaemon();
}
appWindow.startDaemon(persistentSettings.daemonFlags);
appWindow.startDaemon("");
appWindow.disconnectedEpoch = Utils.epoch();
}