mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 23:47:56 +00:00
More tests and some cleanup (#3331)
This commit is contained in:
@@ -463,7 +463,6 @@ where
|
||||
config.disable_grandpa = cli.no_grandpa;
|
||||
config.grandpa_voter = cli.grandpa_voter;
|
||||
|
||||
|
||||
let is_dev = cli.shared_params.dev;
|
||||
|
||||
let client_id = config.client_id();
|
||||
@@ -481,14 +480,12 @@ where
|
||||
cli.pool_config,
|
||||
)?;
|
||||
|
||||
|
||||
if cli.shared_params.dev {
|
||||
config.dev_key_seed = cli.keyring.account
|
||||
.map(|a| format!("//{}", a))
|
||||
.or_else(|| Some("//Alice".into()));
|
||||
}
|
||||
|
||||
|
||||
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