From 7c59095e825cc8e91da956d0b2c87e2b97337e5c Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 13 Mar 2022 23:41:35 +0100 Subject: [PATCH] fix typo in command line argument parsing for chia db validate --- chia/cmds/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chia/cmds/db.py b/chia/cmds/db.py index 671254e68f57..b35d7049084e 100644 --- a/chia/cmds/db.py +++ b/chia/cmds/db.py @@ -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),