Allow checkout with litecoin

This commit is contained in:
nicolas.dorier
2018-01-09 11:41:07 +09:00
parent 0c735f4e29
commit 6ae9d13c43
14 changed files with 600 additions and 34 deletions

View File

@@ -141,6 +141,19 @@ namespace BTCPayServer.Data
get;
set;
}
[Obsolete("Use GetDefaultCrypto instead")]
public string DefaultCrypto { get; set; }
#pragma warning disable CS0618
public string GetDefaultCrypto()
{
return DefaultCrypto ?? "BTC";
}
public void SetDefaultCrypto(string defaultCryptoCurrency)
{
DefaultCrypto = defaultCryptoCurrency;
}
#pragma warning restore CS0618
static Network Dummy = Network.Main;