mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 15:14:49 +01:00
NRE fix
This commit is contained in:
@@ -352,7 +352,7 @@ namespace BTCPayServer.Payments.Bitcoin
|
||||
|
||||
private decimal GetPayJoinContributedAmount(BitcoinLikeOnChainPaymentMethod paymentMethod, decimal amount, uint256 transactionHash)
|
||||
{
|
||||
if (paymentMethod.PayJoin.Enabled &&
|
||||
if (paymentMethod.PayJoin?.Enabled is true &&
|
||||
paymentMethod.PayJoin.ProposedTransactionHash == transactionHash &&
|
||||
paymentMethod.PayJoin.TotalOutputAmount == amount)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user