mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Revert "Add missing async/await keywords"
This reverts commit 8d0260b644
.
This commit is contained in:
parent
aef1cefc18
commit
caff7eda9f
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ namespace BTCPayServer.Payments.Bitcoin
|
||||||
private async Task UpdatePaymentStatesForPendingInvoices(BTCPayWallet wallet)
|
private async Task UpdatePaymentStatesForPendingInvoices(BTCPayWallet wallet)
|
||||||
{
|
{
|
||||||
var pendingInvoices = await _InvoiceRepository.GetPendingInvoices();
|
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
|
new ExecutionDataflowBlockOptions
|
||||||
{
|
{
|
||||||
CancellationToken = _Cts.Token,
|
CancellationToken = _Cts.Token,
|
||||||
|
|
Loading…
Add table
Reference in a new issue