Skip to content

Commit

Permalink
Fix hot_key argument in gen_hot_key_auth_cert
Browse files Browse the repository at this point in the history
  • Loading branch information
saratomaz committed Jul 4, 2024
1 parent de8a5dc commit f5e40f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cardano_clusterlib/conway_gov_committee_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ def gen_hot_key_auth_cert(
)

if hot_key:
hot_key_args = ["--hot-key", str(hot_key)]
hot_key_args = ["--hot-verification-key", str(hot_key)]
elif hot_key_file:
hot_key_args = ["--hot-key-file", str(hot_key_file)]
hot_key_args = ["--hot-verification-key-file", str(hot_key_file)]
elif hot_key_hash:
hot_key_args = ["--hot-key-hash", str(hot_key_hash)]
hot_key_args = ["--hot-verification-key-hash", str(hot_key_hash)]
else:
msg = "Either `hot_key`, `hot_key_file` or `hot_key_hash` is needed."
raise AssertionError(msg)
Expand Down

0 comments on commit f5e40f1

Please sign in to comment.