Merge pull request #2149

5d3fe93 Check before disconnecting wallet (xmrdsc)
This commit is contained in:
luigi1111
2019-05-03 13:01:13 -05:00

View File

@@ -587,6 +587,9 @@ ApplicationWindow {
}
function disconnectRemoteNode() {
if (typeof currentWallet === "undefined" || currentWallet === null)
return;
console.log("disconnecting remote node");
persistentSettings.useRemoteNode = false;
currentDaemonAddress = localDaemonAddress