From 80ade41905cff40eef94e27d39f14f41e887c96d Mon Sep 17 00:00:00 2001 From: selsta Date: Fri, 7 Oct 2022 01:49:31 +0200 Subject: DaemonManager: take dataDir into account when sending cmd --- pages/Mining.qml | 2 +- pages/settings/SettingsLog.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pages') diff --git a/pages/Mining.qml b/pages/Mining.qml index 8d5a2522..e9ab1d07 100644 --- a/pages/Mining.qml +++ b/pages/Mining.qml @@ -297,7 +297,7 @@ Rectangle { startP2Pool() } else { - daemonManager.stopAsync(persistentSettings.nettype, startP2PoolLocal) + daemonManager.stopAsync(persistentSettings.nettype, persistentSettings.blockchainDataDir, startP2PoolLocal) } } else { diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml index 4c393ee9..d11201b0 100644 --- a/pages/settings/SettingsLog.qml +++ b/pages/settings/SettingsLog.qml @@ -254,7 +254,7 @@ Rectangle { onAccepted: { if(text.length > 0) { consoleArea.logCommand(">>> " + text) - daemonManager.sendCommandAsync(text.split(" "), currentWallet.nettype, function(result) { + daemonManager.sendCommandAsync(text.split(" "), currentWallet.nettype, persistentSettings.blockchainDataDir, function(result) { if (!result) { appWindow.showStatusMessage(qsTr("Failed to send command"), 3); } -- cgit v1.2.3