Skip to content

Commit

Permalink
Update scripts/manage_subscription.py
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Pierre <[email protected]>
  • Loading branch information
KPrasch and derekpierre authored Aug 15, 2024
1 parent e60ab6d commit 9b52e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/manage_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def add_encryptors(account, network, domain, ritual_id, encryptors):
# lookup the access controller + authority for the ritual
coordinator = registry.get_contract(contract_name="Coordinator", domain=domain)
ritual = coordinator.rituals(ritual_id)
access_controller = Contract(ritual.access_controller) # uses polygonscan API
access_controller = Contract(ritual.accessController) # uses polygonscan API
if account.address != ritual.authority:
raise ValueError(f"Only the authority ({ritual.authority}) can authorize encryptors.")

Expand Down

0 comments on commit 9b52e3a

Please sign in to comment.