Unverified Commit 90a11a30 authored by André Silva's avatar André Silva Committed by GitHub
Browse files

cli: fix version info in config (#855)

parent 185384a8
Pipeline #79694 passed with stages
in 23 minutes and 40 seconds
......@@ -27,7 +27,7 @@ use sc_cli::{VersionInfo, display_role, error};
pub fn run(version: VersionInfo) -> error::Result<()> {
let opt = sc_cli::from_args::<Cli>(&version);
let mut config = service::Configuration::default();
let mut config = service::Configuration::new(&version);
config.impl_name = "parity-polkadot";
match opt.subcommand {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment