mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-04-08 03:33:06 +00:00
Don't respect preset circuits env vars.
This commit is contained in:
parent
e400dca9bc
commit
c1c6d46bf1
@ -40,13 +40,6 @@ namespace environment {
|
||||
// - Modifies the environment variable LOGOS_BLOCKCHAIN_CIRCUITS.
|
||||
// - Terminates the program if no valid circuits directory is found.
|
||||
void setupCircuitsPath(const LogosAPI& logosApi) {
|
||||
// If Environment Variable is set, respect it
|
||||
const auto envVarPath = qEnvironmentVariable(LOGOS_BLOCKCHAIN_CIRCUITS);
|
||||
if (!envVarPath.isEmpty() && isCircuitsPathValid(envVarPath)) {
|
||||
qInfo() << "LOGOS_BLOCKCHAIN_CIRCUITS is already set to a valid path:" << envVarPath;
|
||||
return;
|
||||
}
|
||||
|
||||
const QString modulePath = logosApi.property("modulePath").toString();
|
||||
const QDir moduleDir(modulePath);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user