Skip to content

Commit

Permalink
returs different model
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Mar 26, 2024
1 parent 3feb023 commit a564411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/lightning/corelightningrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async def pay_invoice(

checking_id = data["payment_hash"]
preimage = data["payment_preimage"]
fee_msat = data["msatoshi_sent"] - data["msatoshi"]
fee_msat = data["amount_sent_msat"] - data["amount_msat"]

return PaymentResponse(
ok=self.statuses.get(data["status"]),
Expand Down

0 comments on commit a564411

Please sign in to comment.