difftreelog
Don't use opal spec twice
in: master
1 file changed
node/cli/src/command.rsdiffbeforeafterboth91 #[cfg(feature = "quartz-runtime")]91 #[cfg(feature = "quartz-runtime")]92 RuntimeId::Quartz => Box::new(chain_spec::QuartzChainSpec::from_json_file(path)?),92 RuntimeId::Quartz => Box::new(chain_spec::QuartzChainSpec::from_json_file(path)?),939394 RuntimeId::Opal => Box::new(chain_spec::OpalChainSpec::from_json_file(path)?),94 RuntimeId::Opal => chain_spec,95 RuntimeId::Unknown(chain) => return Err(no_runtime_err!(chain)),95 RuntimeId::Unknown(chain) => return Err(no_runtime_err!(chain)),96 }96 }97 }97 }