@ -200,7 +200,7 @@ void MainWindow::closeEvent(QCloseEvent* event) {
s.sync();
// Let the RPC know to shut down any running service.
rpc->shutdownZcashd();
rpc->shutdownHushd();
// Bubble up
if (event)
@ -1210,7 +1210,7 @@ void RPC::refreshPrice() {
});
}
void RPC::shutdownZcashd() {
void RPC::shutdownHushd() {
// Shutdown embedded hushd if it was started
if (ezcashd == nullptr || ezcashd->processId() == 0 || conn == nullptr) {
// No hushd running internally, just return
@ -77,7 +77,7 @@ public:
void importTPrivKey(QString addr, bool rescan, const std::function<void(QJsonValue)>& cb);
void validateAddress(QString address, const std::function<void(QJsonValue)>& cb);
void shutdownZcashd();
void shutdownHushd();
void noConnection();
bool isEmbedded() { return ezcashd != nullptr; }