mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 23:54:26 +01:00
add fee to amount in invoice for breez
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Product>Breez / Greenlight</Product>
|
<Product>Breez / Greenlight</Product>
|
||||||
<Description>Lightweight lightning baby!</Description>
|
<Description>Lightweight lightning baby!</Description>
|
||||||
<Version>1.0.2</Version>
|
<Version>1.0.3</Version>
|
||||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- Plugin development properties -->
|
<!-- Plugin development properties -->
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ public class BreezLightningClient : ILightningClient, IDisposable, EventListener
|
|||||||
|
|
||||||
return new LightningInvoice()
|
return new LightningInvoice()
|
||||||
{
|
{
|
||||||
Amount = LightMoney.MilliSatoshis(p.amountMsat),
|
Amount = LightMoney.MilliSatoshis(p.amountMsat + p.feeMsat),
|
||||||
Id = lnPaymentDetails.data.paymentHash,
|
Id = lnPaymentDetails.data.paymentHash,
|
||||||
Preimage = lnPaymentDetails.data.paymentPreimage,
|
Preimage = lnPaymentDetails.data.paymentPreimage,
|
||||||
PaymentHash = lnPaymentDetails.data.paymentHash,
|
PaymentHash = lnPaymentDetails.data.paymentHash,
|
||||||
|
|||||||
Reference in New Issue
Block a user