Browse Source

Use absolute paths to avoid Great Sadness

pull/7/head
Duke Leto 3 years ago
parent
commit
11f24b7e43
  1. BIN
      asmap.dat
  2. 3
      src/connection.cpp

BIN
asmap.dat

Binary file not shown.

3
src/connection.cpp

@ -384,7 +384,8 @@ bool ConnectionLoader::startEmbeddedZcashd() {
// Binaries come with this file
if(QFile( QDir(".").filePath("asmap.dat") ).exists()) {
params += " -asmap=asmap.dat";
auto asmap = appPath.absoluteFilePath("asmap.dat");
params += " -asmap=" + asmap;
} else {
qDebug() << "No ASN map file found";
}

Loading…
Cancel
Save