mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-31 12:44:29 +01:00
Revert "Add missing async/await keywords"
This reverts commit 8d0260b644.
This commit is contained in:
@@ -210,7 +210,7 @@ namespace BTCPayServer.Payments.Bitcoin
|
||||
private async Task UpdatePaymentStatesForPendingInvoices(BTCPayWallet wallet)
|
||||
{
|
||||
var pendingInvoices = await _InvoiceRepository.GetPendingInvoices();
|
||||
var actionBlock = new ActionBlock<string>(async invoiceId => await UpdatePaymentStates(wallet, invoiceId),
|
||||
var actionBlock = new ActionBlock<string>(invoiceId => UpdatePaymentStates(wallet, invoiceId),
|
||||
new ExecutionDataflowBlockOptions
|
||||
{
|
||||
CancellationToken = _Cts.Token,
|
||||
|
||||
Reference in New Issue
Block a user