diff --git a/asmap.dat b/asmap.dat new file mode 100644 index 0000000..aaf3fda Binary files /dev/null and b/asmap.dat differ diff --git a/src/connection.cpp b/src/connection.cpp index be11026..6dc8f64 100644 --- a/src/connection.cpp +++ b/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"; }