mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-27 18:04:26 +01:00
Fix possible NRE
This commit is contained in:
@@ -146,7 +146,7 @@ namespace BTCPayServer.Data
|
||||
}
|
||||
}
|
||||
|
||||
if (!existing && supportedPaymentMethod == null && supportedPaymentMethod.PaymentId.IsBTCOnChain)
|
||||
if (!existing && supportedPaymentMethod == null && paymentMethodId.IsBTCOnChain)
|
||||
{
|
||||
DerivationStrategy = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user