use account_manager::CMD instead of magic string (#4612)
Make the code style a bit more consistent with following lines.
This commit is contained in:
parent
fa93b58257
commit
e92359b756
@ -559,7 +559,7 @@ fn run<E: EthSpec>(
|
|||||||
(Some(_), Some(_)) => panic!("CLI prevents both --network and --testnet-dir"),
|
(Some(_), Some(_)) => panic!("CLI prevents both --network and --testnet-dir"),
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Some(sub_matches) = matches.subcommand_matches("account_manager") {
|
if let Some(sub_matches) = matches.subcommand_matches(account_manager::CMD) {
|
||||||
eprintln!("Running account manager for {} network", network_name);
|
eprintln!("Running account manager for {} network", network_name);
|
||||||
// Pass the entire `environment` to the account manager so it can run blocking operations.
|
// Pass the entire `environment` to the account manager so it can run blocking operations.
|
||||||
account_manager::run(sub_matches, environment)?;
|
account_manager::run(sub_matches, environment)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user