mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Fixing variable reference
Who'll save Emperor if not me
This commit is contained in:
parent
56283df05a
commit
b9ef5af5d7
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
@ -170,7 +170,7 @@ namespace BTCPayServer.Payments.Bitcoin
|
|||
var nodeSupport = _dashboard?.Get(network.CryptoCode)?.Status?.BitcoinStatus?.Capabilities
|
||||
?.CanSupportTransactionCheck is true;
|
||||
onchainMethod.PayjoinEnabled &= supportedPaymentMethod.IsHotWallet && nodeSupport;
|
||||
if (!isHotwallet)
|
||||
if (!supportedPaymentMethod.IsHotWallet)
|
||||
logs.Write($"{prefix} Payjoin should have been enabled, but your store is not a hotwallet");
|
||||
if (!nodeSupport)
|
||||
logs.Write($"{prefix} Payjoin should have been enabled, but your version of NBXplorer or full node does not support it.");
|
||||
|
|
Loading…
Add table
Reference in a new issue