diff --git a/src/connection.cpp b/src/connection.cpp index b7d20f3..508d344 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -6,10 +6,8 @@ #include "ui_connection.h" #include "ui_createzcashconfdialog.h" #include "rpc.h" - #include "precompiled.h" - ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) { this->main = main; this->rpc = rpc; @@ -52,7 +50,7 @@ void ConnectionLoader::loadConnection() { void ConnectionLoader::doAutoConnect(bool tryEzcashdStart) { // Priority 1: Ensure all params are present. if (!verifyParams()) { - downloadParams([=]() { this->doAutoConnect(); }); + qDebug() << "Cannot find sapling params!"; return; } @@ -231,10 +229,6 @@ void ConnectionLoader::createZcashConf() { } -void ConnectionLoader::downloadParams(std::function cb) { - main->logger->write("Bad juju"); -} - void ConnectionLoader::doNextDownload(std::function cb) { auto fnSaveFileName = [&] (QUrl url) { QString path = url.path();