This commit is contained in:
Andrew Camilleri
2019-09-30 10:32:43 +02:00
committed by Nicolas Dorier
parent 3366c86b16
commit d66b111121
57 changed files with 2165 additions and 12 deletions

View File

@@ -179,7 +179,7 @@ namespace BTCPayServer.Controllers
paymentMethodId = store.GetDefaultPaymentId(_NetworkProvider);
isDefaultPaymentId = true;
}
BTCPayNetworkBase network = _NetworkProvider.GetNetwork<BTCPayNetwork>(paymentMethodId.CryptoCode);
BTCPayNetworkBase network = _NetworkProvider.GetNetwork<BTCPayNetworkBase>(paymentMethodId.CryptoCode);
if (network == null && isDefaultPaymentId)
{
//TODO: need to look into a better way for this as it does not scale