add fee to amount in invoice for breez

This commit is contained in:
Kukks
2024-06-11 17:02:02 +02:00
parent 60181f1770
commit 47887a4073
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<PropertyGroup>
<Product>Breez / Greenlight</Product>
<Description>Lightweight lightning baby!</Description>
<Version>1.0.2</Version>
<Version>1.0.3</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<!-- Plugin development properties -->

View File

@@ -107,7 +107,7 @@ public class BreezLightningClient : ILightningClient, IDisposable, EventListener
return new LightningInvoice()
{
Amount = LightMoney.MilliSatoshis(p.amountMsat),
Amount = LightMoney.MilliSatoshis(p.amountMsat + p.feeMsat),
Id = lnPaymentDetails.data.paymentHash,
Preimage = lnPaymentDetails.data.paymentPreimage,
PaymentHash = lnPaymentDetails.data.paymentHash,