mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Refactoring to prepare multiple DerivationSchemes per store and invoices
This commit is contained in:
@@ -185,7 +185,7 @@ namespace BTCPayServer.Services.Invoices
|
||||
currencyData.DepositAddress = bitcoinAddress.ToString();
|
||||
|
||||
#pragma warning disable CS0618
|
||||
if (network.CryptoCode == "BTC")
|
||||
if (network.IsBTC)
|
||||
{
|
||||
invoiceEntity.DepositAddress = currencyData.DepositAddress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user