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