From caff7eda9fcf442de5340bba6ea3dd7a2caaad80 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 28 Oct 2020 23:07:27 +0900 Subject: [PATCH] Revert "Add missing async/await keywords" This reverts commit 8d0260b64490018c907f996d62f10b54c509dbc8. --- BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs b/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs index c7e3c3d4a..90754858d 100644 --- a/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs +++ b/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs @@ -210,7 +210,7 @@ namespace BTCPayServer.Payments.Bitcoin private async Task UpdatePaymentStatesForPendingInvoices(BTCPayWallet wallet) { var pendingInvoices = await _InvoiceRepository.GetPendingInvoices(); - var actionBlock = new ActionBlock(async invoiceId => await UpdatePaymentStates(wallet, invoiceId), + var actionBlock = new ActionBlock(invoiceId => UpdatePaymentStates(wallet, invoiceId), new ExecutionDataflowBlockOptions { CancellationToken = _Cts.Token,