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

This commit is contained in:
Marcio Diaz authored and GitHub committed 2020-02-06 14:48:19 +01:00
1 parent c7867e5125
commit f891342f20
2 files changed
+3 -1

No files matched your search

+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."),