actually do the fee abs() thing on the balances view.

This commit is contained in:
fiatjaf
2021-03-31 20:22:34 -03:00
parent 045e069312
commit 11679a4fa7
2 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ async def pay_invoice(
if payment.checking_id:
await create_payment(
checking_id=payment.checking_id,
fee=-abs(payment.fee_msat),
fee=payment.fee_msat,
preimage=payment.preimage,
pending=payment.ok == None,
conn=conn,