fix: phoenixd uses sat instead of msat for pay_invoice (#3083)
This commit is contained in:
@@ -175,7 +175,7 @@ class PhoenixdWallet(Wallet):
|
||||
return PaymentResponse(None, None, None, None, error_message)
|
||||
|
||||
checking_id = data["paymentHash"]
|
||||
fee_msat = -int(data["routingFeeSat"])
|
||||
fee_msat = -int(data["routingFeeSat"]) * 1000
|
||||
preimage = data["paymentPreimage"]
|
||||
|
||||
return PaymentResponse(True, checking_id, fee_msat, preimage, None)
|
||||
|
||||
Reference in New Issue
Block a user