Skip to content

Commit

Permalink
Merge pull request #2213 from moreal/bugfix/update-apv
Browse files Browse the repository at this point in the history
fix: translate file_name to network_name
  • Loading branch information
moreal authored Nov 28, 2024
2 parents 0a72d3e + 0da44de commit e1e19c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/app/update_apv.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def update_apv(contents: str, apv: Apv):

def check_correct_signer(dir_name:str, file_name: str):
if "9c-main" in dir_name:
assert config.key_address == MAIN_SIGNERS[file_name]
network_name = "odin" if file_name == "9c-network" else file_name
assert config.key_address == MAIN_SIGNERS[network_name]

def generate_apv(planet: Planet, number: int) -> Apv:
timestamp = datetime.utcnow().strftime("%Y-%m-%d")
Expand Down

0 comments on commit e1e19c9

Please sign in to comment.