mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
Fix enable payjoin when p2sh
This commit is contained in:
parent
8c81dae167
commit
dfe655393d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue