Skip to content

Commit 3e72965

Browse files
committed
change
1 parent 7f0e8e2 commit 3e72965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/cli/src/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ pub fn run() -> Result<()> {
340340
BenchmarkCmd::Pallet(cmd) =>
341341
if cfg!(feature = "runtime-benchmarks") {
342342
runner.sync_run(|config| {
343-
cmd.run::<HashingFor<Block>, ReclaimHostFunctions>(config)
343+
cmd.run_with_spec::<HashingFor<Block>, ReclaimHostFunctions>(Some(config.chain_spec))
344344
})
345345
} else {
346346
return Err("Benchmarking wasn't enabled when building the node. \

0 commit comments

Comments
 (0)