diff --git a/BTCPayServer/Services/Altcoins/Monero/Services/MoneroListener.cs b/BTCPayServer/Services/Altcoins/Monero/Services/MoneroListener.cs index ed6338faa..dd2cdac37 100644 --- a/BTCPayServer/Services/Altcoins/Monero/Services/MoneroListener.cs +++ b/BTCPayServer/Services/Altcoins/Monero/Services/MoneroListener.cs @@ -309,7 +309,7 @@ namespace BTCPayServer.Services.Altcoins.Monero.Services }); return result; } - catch (JsonRpcClient.JsonRpcApiException e) + catch (JsonRpcClient.JsonRpcApiException) { return null; } diff --git a/BTCPayServer/Services/LightningHistogramService.cs b/BTCPayServer/Services/LightningHistogramService.cs index 3dec4822f..aed650b0f 100644 --- a/BTCPayServer/Services/LightningHistogramService.cs +++ b/BTCPayServer/Services/LightningHistogramService.cs @@ -10,7 +10,7 @@ namespace BTCPayServer.Services; public class LightningHistogramService { - public async Task GetHistogram(ILightningClient lightningClient, HistogramType type, CancellationToken cancellationToken) + public Task GetHistogram(ILightningClient lightningClient, HistogramType type, CancellationToken cancellationToken) { var (days, pointCount) = type switch { @@ -29,7 +29,7 @@ public class LightningHistogramService // TODO: We can't just list all invoices and payments, we need to filter them by date // but the client doesn't support that yet so let's just disable this for now. See #6518 - return null; + return Task.FromResult(null); } private class LnTx