Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix lnbits
Browse files Browse the repository at this point in the history
callebtc committed Sep 20, 2024
1 parent 55c3fc9 commit 71e680c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cashu/lightning/lnbits.py
Original file line number Diff line number Diff line change
@@ -134,7 +134,6 @@ async def pay_invoice(

return PaymentResponse(
result=payment.result,
ok=True,
checking_id=checking_id,
fee=payment.fee,
preimage=payment.preimage,
@@ -197,7 +196,7 @@ async def get_payment_status(self, checking_id: str) -> PaymentStatus:
return PaymentStatus(
result=result,
fee=Amount(unit=Unit.msat, amount=abs(data["details"]["fee"])),
preimage=data["preimage"],
preimage=data.get("preimage"),
)

async def get_payment_quote(

0 comments on commit 71e680c

Please sign in to comment.