Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
Forked at: 9195fac
Parent branch: origin/master
  • Loading branch information
cecton committed Feb 3, 2020
commit dae2e9125989a30dcc517793832b341f44acdd90
3 changes: 1 addition & 2 deletions bin/node-template/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ pub fn run(version: VersionInfo) -> error::Result<()>
{
let opt = sc_cli::from_args::<Cli>(&version);

let mut config = sc_service::Configuration::default();
config.impl_name = "node-template";
let mut config = sc_service::Configuration::new(&version);

match opt.subcommand {
Some(subcommand) => sc_cli::run_subcommand(
Expand Down
3 changes: 1 addition & 2 deletions bin/node/cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ where
let args: Vec<_> = args.collect();
let opt = sc_cli::from_iter::<Cli, _>(args.clone(), &version);

let mut config = sc_service::Configuration::default();
config.impl_name = "substrate-node";
let mut config = sc_service::Configuration::new(&version);

match opt.subcommand {
None => sc_cli::run(
Expand Down