mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
Make --dev to --alice again (#3338)
This commit is contained in:
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user