mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
refactor: use PaymentHash instead of Id when checking pending ln payout (#6360)
Does the same, but the `GetPayment` call explicitly wants a payment hash, which is clearer this way (thought there might be a bug here when I first read the code)
This commit is contained in:
@@ -98,7 +98,7 @@ public class LightningPendingPayoutListener : BaseAsyncService
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (proof is not null)
|
if (proof is not null)
|
||||||
payment = await client.GetPayment(proof.Id, CancellationToken);
|
payment = await client.GetPayment(proof.PaymentHash, CancellationToken);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user