mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-24 16:34:35 +01:00
Fix enable payjoin when p2sh
This commit is contained in:
@@ -159,8 +159,8 @@ namespace BTCPayServer.Payments.Bitcoin
|
||||
|
||||
onchainMethod.DepositAddress = (await prepare.ReserveAddress).Address.ToString();
|
||||
onchainMethod.PayjoinEnabled = blob.PayJoinEnabled &&
|
||||
supportedPaymentMethod.AccountDerivation.ScriptPubKeyType() ==
|
||||
ScriptPubKeyType.Segwit &&
|
||||
PayjoinClient.SupportedFormats.Contains(supportedPaymentMethod
|
||||
.AccountDerivation.ScriptPubKeyType()) &&
|
||||
network.SupportPayJoin;
|
||||
if (onchainMethod.PayjoinEnabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user