mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
9f6c7180b2
* Greenfield quality of life improvements from feedback fix #2854 * Greenfield quality of life improvements from feedback fix #2855
24 lines
768 B
C#
24 lines
768 B
C#
using BTCPayServer.Client.JsonConverters;
|
|
using NBitcoin;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class OnChainPaymentMethodDataWithSensitiveData : OnChainPaymentMethodData
|
|
{
|
|
public OnChainPaymentMethodDataWithSensitiveData()
|
|
{
|
|
}
|
|
|
|
public OnChainPaymentMethodDataWithSensitiveData(string cryptoCode, string derivationScheme, bool enabled,
|
|
string label, RootedKeyPath accountKeyPath, Mnemonic mnemonic, string paymentMethod) : base(cryptoCode, derivationScheme, enabled,
|
|
label, accountKeyPath, paymentMethod)
|
|
{
|
|
Mnemonic = mnemonic;
|
|
}
|
|
|
|
[JsonConverter(typeof(MnemonicJsonConverter))]
|
|
public Mnemonic Mnemonic { get; set; }
|
|
}
|
|
}
|