Update to latest Substrate (#90)

* Update to latest Substrate

* Fix tests

* Update src/main.rs

Co-Authored-By: gavofyork <github@gavwood.com>
This commit is contained in:
Gav Wood
2019-01-18 16:30:41 +01:00
committed by GitHub
parent fc7cf99987
commit ccb79c05ed
4 changed files with 109 additions and 108 deletions
+2 -2
View File
@@ -100,9 +100,9 @@ pub fn run<I, T, W>(args: I, worker: W, version: cli::VersionInfo) -> error::Res
Err(e) => e.exit(),
};
let (spec, mut config) = cli::parse_matches::<service::Factory, _>(load_spec, version, "parity-polkadot", &matches)?;
let (spec, mut config) = cli::parse_matches::<service::Factory, _>(load_spec, &version, "parity-polkadot", &matches)?;
match cli::execute_default::<service::Factory, _,>(spec, worker, &matches, &config)? {
match cli::execute_default::<service::Factory, _,>(spec, worker, &matches, &config, &version)? {
cli::Action::ExecutedInternally => (),
cli::Action::RunService(worker) => {
info!("Parity ·:· Polkadot");