Remove Default from OnChainPayment Method (#2170)

Makes more sense to do it on the Store endpoint after thinking about it.
This commit is contained in:
Andrew Camilleri
2020-12-29 09:38:31 +01:00
committed by GitHub
parent 553b1f139b
commit 5803512820
4 changed files with 6 additions and 21 deletions

View File

@@ -10,11 +10,6 @@ namespace BTCPayServer.Client.Models
/// </summary>
public bool Enabled { get; set; }
/// <summary>
/// Whether the payment method is the default
/// </summary>
public bool Default { get; set; }
/// <summary>
/// Crypto code of the payment method
/// </summary>
@@ -34,11 +29,9 @@ namespace BTCPayServer.Client.Models
{
}
public OnChainPaymentMethodData(string cryptoCode, string derivationScheme, bool enabled,
bool defaultMethod)
public OnChainPaymentMethodData(string cryptoCode, string derivationScheme, bool enabled)
{
Enabled = enabled;
Default = defaultMethod;
CryptoCode = cryptoCode;
DerivationScheme = derivationScheme;
}