Fix possible NRE

This commit is contained in:
nicolas.dorier
2019-06-24 14:08:19 +09:00
parent 9e354d7703
commit 64c60741a0

View File

@@ -146,7 +146,7 @@ namespace BTCPayServer.Data
}
}
if (!existing && supportedPaymentMethod == null && supportedPaymentMethod.PaymentId.IsBTCOnChain)
if (!existing && supportedPaymentMethod == null && paymentMethodId.IsBTCOnChain)
{
DerivationStrategy = null;
}