Browse Source

We do not download junk like other coins

pull/3/head
Duke Leto 3 years ago
parent
commit
5d6cc9ff48
  1. 8
      src/connection.cpp

8
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<void(void)> cb) {
main->logger->write("Bad juju");
}
void ConnectionLoader::doNextDownload(std::function<void(void)> cb) {
auto fnSaveFileName = [&] (QUrl url) {
QString path = url.path();

Loading…
Cancel
Save