From 052d9dfa43a757f427738397be5406adbd8cd200 Mon Sep 17 00:00:00 2001 From: Cem Eliguzel Date: Mon, 6 Nov 2023 19:32:33 +0300 Subject: [PATCH] Fix build error (#3) --- substrate/bin/node/cli/src/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/bin/node/cli/src/command.rs b/substrate/bin/node/cli/src/command.rs index 2cc1e518d624..a6de2bb13702 100644 --- a/substrate/bin/node/cli/src/command.rs +++ b/substrate/bin/node/cli/src/command.rs @@ -236,7 +236,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)) }) }, }