Skip to content

Commit

Permalink
fix typo in command line argument parsing for chia db validate (#10716)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn authored Mar 17, 2022
1 parent 073dc94 commit cd83a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia/cmds/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def db_upgrade_cmd(ctx: click.Context, no_update_config: bool, **kwargs) -> None
@click.pass_context
def db_validate_cmd(ctx: click.Context, validate_blocks: bool, **kwargs) -> None:
try:
in_db_path = kwargs.get("input")
in_db_path = kwargs.get("db")
db_validate_func(
Path(ctx.obj["root_path"]),
None if in_db_path is None else Path(in_db_path),
Expand Down

0 comments on commit cd83a9e

Please sign in to comment.