mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-20 13:04:23 +02:00
All fees are negative
This commit is contained in:
@@ -154,7 +154,7 @@ async def pay_invoice(
|
|||||||
if payment.checking_id:
|
if payment.checking_id:
|
||||||
await create_payment(
|
await create_payment(
|
||||||
checking_id=payment.checking_id,
|
checking_id=payment.checking_id,
|
||||||
fee=payment.fee_msat,
|
fee=-abs(payment.fee_msat),
|
||||||
preimage=payment.preimage,
|
preimage=payment.preimage,
|
||||||
pending=payment.ok == None,
|
pending=payment.ok == None,
|
||||||
conn=conn,
|
conn=conn,
|
||||||
|
Reference in New Issue
Block a user