Skip to content

Commit

Permalink
Problem: cmd parameter passed in cli is not used (#43)
Browse files Browse the repository at this point in the history
Solution:
- should prefer cmd parameter passed in cli over the one in config file.
  • Loading branch information
yihuang authored Feb 15, 2022
1 parent 298b266 commit 2b5e020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystarport/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def create_account(cli, account, use_ledger=False):

(data_dir / "config.json").write_text(json.dumps(config))

cmd = config.get("cmd") or cmd or CHAIN
cmd = cmd or config.get("cmd") or CHAIN

# init home directories
for i, val in enumerate(config["validators"]):
Expand Down

0 comments on commit 2b5e020

Please sign in to comment.