Skip to content

Commit

Permalink
make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Oct 11, 2023
1 parent 8cb7d3c commit b4eaef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ async def _load_mint_keys(self, keyset_id: Optional[str] = None) -> None:
# get current keyset
keyset = await self._get_keys(self.url)

assert len(keyset.public_keys) > 0, "did not receive keys from mint."
assert keyset
assert keyset.id
assert len(keyset.public_keys) > 0, "did not receive keys from mint."

if keyset_id and keyset_id != keyset.id:
# NOTE: Because of the upcoming change of how to calculate keyset ids
Expand Down

0 comments on commit b4eaef2

Please sign in to comment.