Fix warnings

This commit is contained in:
nicolas.dorier
2025-01-11 00:16:17 +09:00
parent 5a8c959b6b
commit 9d8a231274
2 changed files with 3 additions and 3 deletions

View File

@@ -309,7 +309,7 @@ namespace BTCPayServer.Services.Altcoins.Monero.Services
});
return result;
}
catch (JsonRpcClient.JsonRpcApiException e)
catch (JsonRpcClient.JsonRpcApiException)
{
return null;
}

View File

@@ -10,7 +10,7 @@ namespace BTCPayServer.Services;
public class LightningHistogramService
{
public async Task<HistogramData> GetHistogram(ILightningClient lightningClient, HistogramType type, CancellationToken cancellationToken)
public Task<HistogramData> 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<HistogramData>(null);
}
private class LnTx