mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
Fix broken factory by adding keystore back. (#4840)
This commit is contained in:
@@ -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."),
|
||||
|
||||
Reference in New Issue
Block a user