fix: phoenixd uses sat instead of msat for pay_invoice (#3083)

This commit is contained in:
dni ⚡
2025-04-02 16:49:59 +03:00
committed by GitHub
parent 1058461882
commit 883d52c303
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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)