From 67ba64b0a1ef49939233115098eaac09b4ec8f14 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 12 Oct 2021 15:45:55 +0900 Subject: [PATCH] Fix build --- BTCPayServer/Services/Cheater.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Services/Cheater.cs b/BTCPayServer/Services/Cheater.cs index 7b8417576..9a988c9c2 100644 --- a/BTCPayServer/Services/Cheater.cs +++ b/BTCPayServer/Services/Cheater.cs @@ -38,9 +38,10 @@ namespace BTCPayServer.Services } } - async Task IHostedService.StartAsync(CancellationToken cancellationToken) + Task IHostedService.StartAsync(CancellationToken cancellationToken) { - await CashCow.ScanRPCCapabilitiesAsync(); + _ = CashCow.ScanRPCCapabilitiesAsync(); + return Task.CompletedTask; } Task IHostedService.StopAsync(CancellationToken cancellationToken)