Browse Source

Rename

old_duke
Duke Leto 4 years ago
parent
commit
31192858fa
  1. 2
      src/mainwindow.cpp
  2. 2
      src/rpc.cpp
  3. 2
      src/rpc.h

2
src/mainwindow.cpp

@ -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)

2
src/rpc.cpp

@ -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

2
src/rpc.h

@ -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; }

Loading…
Cancel
Save