fix fee on lntxbot wallets.

This commit is contained in:
fiatjaf 2021-01-05 19:50:06 -03:00
parent 45148d285e
commit 9dd040186d

View File

@ -82,7 +82,7 @@ class LntxbotWallet(Wallet):
data = r.json() data = r.json()
checking_id = data["payment_hash"] checking_id = data["payment_hash"]
fee_msat = data["fee_msat"] fee_msat = -data["fee_msat"]
preimage = data["payment_preimage"] preimage = data["payment_preimage"]
return PaymentResponse(True, checking_id, fee_msat, preimage, None) return PaymentResponse(True, checking_id, fee_msat, preimage, None)