Skip to content
Snippets Groups Projects
Commit 7c1fc4cc authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Make `--dev` to `--alice` again (#3338)

parent 0de7d9bb
Branches
No related merge requests found
......@@ -473,7 +473,14 @@ where
fill_transaction_pool_configuration::<F>(&mut config, cli.pool_config)?;
config.dev_key_seed = cli.keyring.account.map(|a| format!("//{}", a));
config.dev_key_seed = cli.keyring.account
.map(|a| format!("//{}", a)).or_else(|| {
if is_dev {
Some("//Alice".into())
} else {
None
}
});
let rpc_interface: &str = if cli.rpc_external { "0.0.0.0" } else { "127.0.0.1" };
let ws_interface: &str = if cli.ws_external { "0.0.0.0" } else { "127.0.0.1" };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment