mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
Add missing async/await keywords
This commit is contained in:
parent
5d9827fb60
commit
8d0260b644
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ namespace BTCPayServer.Payments.Bitcoin
|
|||
private async Task UpdatePaymentStatesForPendingInvoices(BTCPayWallet wallet)
|
||||
{
|
||||
var pendingInvoices = await _InvoiceRepository.GetPendingInvoices();
|
||||
var actionBlock = new ActionBlock<string>(invoiceId => UpdatePaymentStates(wallet, invoiceId),
|
||||
var actionBlock = new ActionBlock<string>(async invoiceId => await UpdatePaymentStates(wallet, invoiceId),
|
||||
new ExecutionDataflowBlockOptions
|
||||
{
|
||||
CancellationToken = _Cts.Token,
|
||||
|
|
Loading…
Add table
Reference in a new issue