mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +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:
parent
b670097592
commit
8b5b90d247
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue