Skip to content

Commit d20ffce

Browse files
Juhyung Parkmergify[bot]
authored andcommitted
Use "mainnet" as a default chain in the account subcommand
1 parent 1647c4d commit d20ffce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codechain/subcommand/account_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn run_account_command(matches: &ArgMatches) -> Result<(), String> {
4242
let dir = RootDiskDirectory::create(keys_path).expect("Cannot read key path directory");
4343
let keystore = KeyStore::open(Box::new(dir)).unwrap();
4444
let ap = AccountProvider::new(keystore);
45-
let chain = get_global_argument(matches, "chain").unwrap_or_else(|| "solo".into());
45+
let chain = get_global_argument(matches, "chain").unwrap_or_else(|| "mainnet".into());
4646
let chain_type: ChainType = chain.parse().unwrap();
4747
let network_id: NetworkId = chain_type.scheme().map(|scheme| scheme.params().network_id)?;
4848

0 commit comments

Comments
 (0)