refactor: make BeforeFetchingRates function public (#6310)

This function is useful when a payment method wants to update its
payment prompt after receiving a partial payment, like ln does
This commit is contained in:
jackstar12
2024-10-18 07:03:37 +02:00
committed by GitHub
parent b670097592
commit 8b5b90d247

View File

@@ -295,7 +295,7 @@ namespace BTCPayServer.Payments
/// </summary>
public List<string> TrackedDestinations { get; } = new();
internal async Task BeforeFetchingRates()
public async Task BeforeFetchingRates()
{
await Handler.BeforeFetchingRates(this);
// We need to fetch the rates necessary for the evaluation of the payment method criteria