Skip to content

Commit

Permalink
change: sort addresses alphabetically
Browse files Browse the repository at this point in the history
In the past, changes to the entity order in the SDN list have caused
changes to the automatically generated list by reordering the already
sanctioned addresses. To avoid this, the addresses are now ordered.
  • Loading branch information
0xB10C committed Sep 3, 2022
1 parent 4aeab3d commit d512a82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate-address-list.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def main():

# deduplicate addresses
addresses = list(dict.fromkeys(addresses).keys())
# sort addresses
addresses.sort()

write_addresses(addresses, asset, output_formats, args.outpath)

Expand Down

0 comments on commit d512a82

Please sign in to comment.