Skip to content

Commit

Permalink
Merge pull request #726 from serokell/krendelhoff/#725-bug-error-in-v…
Browse files Browse the repository at this point in the history
…oting

[#725] Fix reference to config
  • Loading branch information
pasqu4le authored Sep 28, 2023
2 parents 4f6f1b6 + b84f76d commit 505e592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baking/src/tezos_baking/tezos_voting_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def run_voting(self):

# if a ledger is used for baking, ask to open Tezos Wallet app on it before proceeding
if self.check_ledger_use():
wait_for_ledger_app("Wallet", config["client_data_dir"])
wait_for_ledger_app("Wallet", self.config["client_data_dir"])

# process 'tezos-client show voting period'
self.fill_voting_period_info()
Expand Down Expand Up @@ -458,7 +458,7 @@ def run_voting(self):
# if a ledger was used for baking on this machine, ask to open Tezos Baking app on it,
# then restart the relevant baking service (due to issue: tezos/#4486)
if self.config.get("is_local_baking_setup", False) and self.check_ledger_use():
wait_for_ledger_app("Baking", config["client_data_dir"])
wait_for_ledger_app("Baking", self.config["client_data_dir"])
net = self.config["network"]
print(f"Restarting local {net} baking setup")
proc_call(f"sudo systemctl restart tezos-baking-{net}.service")
Expand Down

0 comments on commit 505e592

Please sign in to comment.