Skip to content

Commit

Permalink
submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jan 23, 2025
1 parent 58a9a94 commit 86c9934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Empty file added cashu/wallet/auth/__init__.py
Empty file.
4 changes: 3 additions & 1 deletion cashu/wallet/v1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ async def _request(self, method: str, path: str, noprefix=False, **kwargs):
raise Exception(
"Mint requires blind auth, but no auth keyset id is set."
)
proof = (await get_proofs(db=self.auth_db, id=self.auth_keyset_id))[0]
proofs = await get_proofs(db=self.auth_db, id=self.auth_keyset_id)
# select one auth proof
proof = proofs[0]
auth_token = AuthProof.from_proof(proof).to_base64()
kwargs.setdefault("headers", {}).update(
{
Expand Down

0 comments on commit 86c9934

Please sign in to comment.