mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-20 09:04:26 +01:00
upd prism
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Product>LN Prism</Product>
|
<Product>LN Prism</Product>
|
||||||
<Description>Automated value splits for lightning.</Description>
|
<Description>Automated value splits for lightning.</Description>
|
||||||
<Version>1.1.16</Version>
|
<Version>1.1.17</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- Plugin development properties -->
|
<!-- Plugin development properties -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@@ -447,6 +447,11 @@ namespace BTCPayServer.Plugins.Prism
|
|||||||
? new PaymentMethodId("BTC", LightningPaymentType.Instance)
|
? new PaymentMethodId("BTC", LightningPaymentType.Instance)
|
||||||
: pmi2;
|
: pmi2;
|
||||||
|
|
||||||
|
var source = "Prism";
|
||||||
|
if (destinationSettings is not null)
|
||||||
|
{
|
||||||
|
source+= $" ({destination})";
|
||||||
|
}
|
||||||
var claimRequest = new ClaimRequest()
|
var claimRequest = new ClaimRequest()
|
||||||
{
|
{
|
||||||
Destination = new LNURLPayClaimDestinaton(destinationSettings?.Destination ?? destination),
|
Destination = new LNURLPayClaimDestinaton(destinationSettings?.Destination ?? destination),
|
||||||
@@ -456,7 +461,7 @@ namespace BTCPayServer.Plugins.Prism
|
|||||||
Value = Money.Satoshis(payoutAmount).ToDecimal(MoneyUnit.BTC),
|
Value = Money.Satoshis(payoutAmount).ToDecimal(MoneyUnit.BTC),
|
||||||
Metadata = JObject.FromObject(new
|
Metadata = JObject.FromObject(new
|
||||||
{
|
{
|
||||||
Source = $"Prism ({(destinationSettings?.Destination ?? destination)})"
|
Source = source
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
claimRequest =
|
claimRequest =
|
||||||
|
|||||||
Reference in New Issue
Block a user