mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-03 14:14:28 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user