diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2023-02-15 10:51:37 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2023-02-15 10:51:37 -0500 |
| commit | 3338bc3741e2354db23dbee1c97a95e5916415a7 (patch) | |
| tree | f86177aa9a90bf27e7aaed0f349837d45297c0ee /main.qml | |
| parent | af368c93ce72731455e9da47e721e49d5b6533b0 (diff) | |
| parent | 587ea68a99da5a795ee78f6d20e6f3672b1c5922 (diff) | |
| download | monzero-gui-3338bc3741e2354db23dbee1c97a95e5916415a7.tar.gz monzero-gui-3338bc3741e2354db23dbee1c97a95e5916415a7.tar.xz monzero-gui-3338bc3741e2354db23dbee1c97a95e5916415a7.zip | |
Merge pull request #4092
587ea68 p2pool: Stop p2pool mining on node switch (devhyper)
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("", ""); |
