Support Legacy API Key authentication to Bitpay Invoice API

This commit is contained in:
nicolas.dorier
2018-04-29 18:28:04 +09:00
parent 9e05ad787f
commit 2848caff2e
14 changed files with 831 additions and 87 deletions

View File

@@ -14,6 +14,7 @@ using Newtonsoft.Json.Linq;
using BTCPayServer.Services.Rates;
using BTCPayServer.Payments;
using BTCPayServer.JsonConverters;
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Data
{
@@ -120,7 +121,7 @@ namespace BTCPayServer.Data
}
}
if(!existing && supportedPaymentMethod == null && paymentMethodId.IsBTCOnChain)
if (!existing && supportedPaymentMethod == null && paymentMethodId.IsBTCOnChain)
{
DerivationStrategy = null;
}