mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
add fee to amount in invoice for breez
This commit is contained in:
@@ -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 -->
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user