Revert "Add missing async/await keywords"

This reverts commit 8d0260b644.
This commit is contained in:
nicolas.dorier 2020-10-28 23:07:27 +09:00
parent aef1cefc18
commit caff7eda9f
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -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,