From 9a9b0eb0522b4629090bffb7f84ace556852ee3e Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sun, 18 Jul 2021 23:11:09 +0200 Subject: [PATCH] fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion part 2 somehow I did miss 3 more occurences --- core/tools/keyctl-proxy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/tools/keyctl-proxy b/core/tools/keyctl-proxy index 0495210f5..3ac57e187 100755 --- a/core/tools/keyctl-proxy +++ b/core/tools/keyctl-proxy @@ -30,8 +30,8 @@ PATH = "10018h/{}h" TREZOR = None -def make_commit(fw_or_type, digest, public_keys): - path = PATH.format(fw_or_type.BIP32_INDEX) +def make_commit(image_type, digest, public_keys): + path = PATH.format(image_type.BIP32_INDEX) address_n = parse_path(path) # device information - show only first time @@ -42,7 +42,7 @@ def make_commit(fw_or_type, digest, public_keys): while True: # signing information - repeat every time - click.echo("Commiting to {} hash:".format(click.style(fw_or_type.NAME, bold=True))) + click.echo("Commiting to {} hash:".format(click.style(image_type.NAME, bold=True))) for partid in range(4): digest_part = digest[partid * 8 : (partid + 1) * 8] color = "red" if partid % 2 else "cyan"