diff --git a/substrate/bin/node/cli/src/command.rs b/substrate/bin/node/cli/src/command.rs index 8b652483cbf8..7a8e4f344a9c 100644 --- a/substrate/bin/node/cli/src/command.rs +++ b/substrate/bin/node/cli/src/command.rs @@ -235,7 +235,7 @@ pub fn run() -> Result<()> { runner.async_run(|config| { let PartialComponents { task_manager, backend, .. } = service::new_partial(&config)?; - Ok((cmd.run(backend), task_manager)) + Ok((cmd.run(backend, config.chain_spec), task_manager)) }) }, }