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