Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jan 22, 2025
1 parent 6890dbf commit 0abd3c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cashu/wallet/wallet_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ async def _get_info_deprecated(self) -> GetInfoResponse:
mint_info = GetInfoResponse(
**mint_info_deprecated.dict(exclude={"parameter", "nuts", "contact"})
)
# monkeypatch nuts
mint_info.nuts = {}
return mint_info

@async_set_httpx_client
Expand Down Expand Up @@ -261,7 +263,7 @@ async def request_mint_deprecated(self, amount) -> PostMintQuoteResponse:
paid=False,
state=MintQuoteState.unpaid.value,
expiry=decoded_invoice.date + (decoded_invoice.expiry or 0),
pubkey=None
pubkey=None,
)

@async_set_httpx_client
Expand Down

0 comments on commit 0abd3c5

Please sign in to comment.