Browse Source

Fix bug where zcashd wasn't shutdown

import_zecw
Aditya Kulkarni 5 years ago
parent
commit
9175bb9999
  1. 2
      src/controller.cpp

2
src/controller.cpp

@ -767,7 +767,7 @@ void Controller::refreshZECPrice() {
void Controller::shutdownZcashd() {
// Shutdown embedded zcashd if it was started
if (ezcashd == nullptr || ezcashd->processId() == 0 || ~zrpc->haveConnection()) {
if (ezcashd == nullptr || ezcashd->processId() == 0 || !zrpc->haveConnection()) {
// No zcashd running internally, just return
return;
}

Loading…
Cancel
Save