Fix broken factory by adding keystore back. (#4840)

This commit is contained in:
Marcio Diaz
2020-02-06 14:48:19 +01:00
committed by GitHub
parent c7867e5125
commit f891342f20
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -50,6 +50,8 @@ where
cli_args.shared_params.dev,
)?;
sc_cli::fill_config_keystore_in_memory(&mut config)?;
match ChainSpec::from(config.expect_chain_spec().id()) {
Some(ref c) if c == &ChainSpec::Development || c == &ChainSpec::LocalTestnet => {},
_ => panic!("Factory is only supported for development and local testnet."),