From 2bdf2412efdb3b132d0aa2610843fccf16f56d0f Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Sat, 18 Nov 2023 12:32:50 +0100 Subject: [PATCH] fix: DUNITER_CLIENT_SPEC for both GDev and GTest currencies --- node/src/command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 4b2fbabaf..b0e012ae2 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -109,7 +109,7 @@ impl SubstrateCli for Cli { const CLIENT_SPEC: &str = "./node/specs/gdev_client-specs.yaml"; let client_spec: chain_spec::gdev::ClientSpec = serde_yaml::from_slice( &std::fs::read( - std::env::var("DUNITER_GTEST_CLIENT_SPEC") + std::env::var("DUNITER_CLIENT_SPEC") .unwrap_or_else(|_| CLIENT_SPEC.to_string()), ) .map_err(|e| format!("failed to read {CLIENT_SPEC} {e}"))?[..], @@ -144,7 +144,7 @@ impl SubstrateCli for Cli { const JSON_CLIENT_SPEC: &str = "./node/specs/gtest_client-specs.yaml"; let client_spec: gtest::ClientSpec = serde_yaml::from_slice( &std::fs::read( - std::env::var("DUNITER_GTEST_CLIENT_SPEC") + std::env::var("DUNITER_CLIENT_SPEC") .unwrap_or_else(|_| JSON_CLIENT_SPEC.to_string()), ) .map_err(|e| format!("failed to read {JSON_CLIENT_SPEC} {e}"))?[..], -- GitLab