All fees are negative

This commit is contained in:
Ben Arc
2021-04-01 00:02:24 +01:00
parent 510ccbc007
commit 045e069312

View File

@@ -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,