mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +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:
parent
5e438b84e1
commit
4272ea97db
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public class LightningPendingPayoutListener : BaseAsyncService
|
|||
try
|
||||
{
|
||||
if (proof is not null)
|
||||
payment = await client.GetPayment(proof.Id, CancellationToken);
|
||||
payment = await client.GetPayment(proof.PaymentHash, CancellationToken);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue