diff options
| author | devhyper <57877914+devhyper@users.noreply.github.com> | 2023-02-02 17:32:06 -0800 |
|---|---|---|
| committer | devhyper <57877914+devhyper@users.noreply.github.com> | 2023-02-02 17:32:06 -0800 |
| commit | 587ea68a99da5a795ee78f6d20e6f3672b1c5922 (patch) | |
| tree | 5059a162b7756c73ced2674defe63c024d94883a /main.qml | |
| parent | b7ba9437d8cca6df4ecff7f5ae38a53cac5e26b2 (diff) | |
| download | monzero-gui-587ea68a99da5a795ee78f6d20e6f3672b1c5922.tar.gz monzero-gui-587ea68a99da5a795ee78f6d20e6f3672b1c5922.tar.xz monzero-gui-587ea68a99da5a795ee78f6d20e6f3672b1c5922.zip | |
p2pool: Stop p2pool mining on node switch
Diffstat (limited to 'main.qml')
| -rw-r--r-- | main.qml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -602,6 +602,9 @@ ApplicationWindow { function connectRemoteNode() { console.log("connecting remote node"); + p2poolManager.exit(); + p2poolManager.getStatus(); + const callback = function() { persistentSettings.useRemoteNode = true; const remoteNode = remoteNodesModel.currentRemoteNode(); @@ -630,6 +633,10 @@ ApplicationWindow { return; console.log("disconnecting remote node"); + + p2poolManager.exit(); + p2poolManager.getStatus(); + persistentSettings.useRemoteNode = false; currentDaemonAddress = localDaemonAddress currentWallet.setDaemonLogin("", ""); |
