Skip to content

Commit

Permalink
cosmetic updates
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Oct 11, 2023
1 parent 6721951 commit 43e694c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cashu/wallet/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def pay(ctx: Context, invoice: str, yes: bool):
quote = await wallet.quote_lightning(invoice)
if not yes:
click.confirm(
f"Pay {quote.amount} cents?",
f"Pay {quote.amount/100:.2f} USD?",
abort=True,
default=True,
)
Expand Down
1 change: 0 additions & 1 deletion cashu/wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,6 @@ async def quote_lightning(self, invoice: str) -> PaymentQuote:
resp = self.s.get(self.url + "/melt", params={"invoice": invoice})
self.raise_on_error(resp)
return_dict = resp.json()
print(return_dict)
quote = PaymentQuote(id=return_dict[0], amount=return_dict[1])
return quote

Expand Down

0 comments on commit 43e694c

Please sign in to comment.