Skip to content

Commit

Permalink
Remove extraneous asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Nov 30, 2024
1 parent e7ff34a commit 6552a6d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/itn_api/simple_sign_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ def identify_aliases_callback(md: list[dict]) -> list[Alias]:
"""Return an alias from retrieved kupo metadata."""
addresses = []
for item in md:
assert (
"address" in item
), "metadata dictionary should have been augmented with address"
assert (
"staking" in item
), "metadata dictionary should have been augmented with staking"
try:
value = item["schema"]["674"]["map"][0]["v"]["list"]
except KeyError:
Expand Down

0 comments on commit 6552a6d

Please sign in to comment.