Skip to content

Commit

Permalink
fix(typo): Compilation of node with vara-native only feature (#3367)
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx authored Sep 27, 2023
1 parent eb8612f commit 05cf680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl SubstrateCli for Cli {

// Vara specs.
#[cfg(feature = "vara-runtime")]
(.., true) => Box::new(chain_spec::gear::ChainSpec::from_json_file(path)?),
(.., true) => Box::new(chain_spec::vara::ChainSpec::from_json_file(path)?),
#[cfg(not(feature = "vara-runtime"))]
(.., true) => return Err("Vara runtime is not available. Please compile the node with `-F vara-native` to enable it.".into()),
}
Expand Down

0 comments on commit 05cf680

Please sign in to comment.