mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Fix: Payouts state could turn cancelled even if payment was successful
This commit is contained in:
parent
0bf22ddf29
commit
b96e73a002
1 changed files with 2 additions and 2 deletions
|
@ -88,11 +88,11 @@ public class LightningAutomatedPayoutProcessor : BaseAutomatedPayoutProcessor<Li
|
|||
{
|
||||
continue;
|
||||
}
|
||||
failed = await TrypayBolt(client, blob, payoutData,
|
||||
failed = !await TrypayBolt(client, blob, payoutData,
|
||||
lnurlResult.Item1);
|
||||
break;
|
||||
case BoltInvoiceClaimDestination item1:
|
||||
failed = await TrypayBolt(client, blob, payoutData, item1.PaymentRequest);
|
||||
failed = !await TrypayBolt(client, blob, payoutData, item1.PaymentRequest);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue