mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Include XPubs in PSBTs for multi sig (#6696)
This commit is contained in:
@@ -316,6 +316,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
RBF = true,
|
||||
AlwaysIncludeNonWitnessUTXO = paymentMethod.DefaultIncludeNonWitnessUtxo,
|
||||
IncludeGlobalXPub = paymentMethod.IsMultiSigOnServer,
|
||||
IncludeOnlyOutpoints = bumpableUTXOs,
|
||||
SpendAllMatchingOutpoints = true,
|
||||
FeePreference = new FeePreference()
|
||||
@@ -369,6 +370,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
RBF = true,
|
||||
AlwaysIncludeNonWitnessUTXO = paymentMethod.DefaultIncludeNonWitnessUtxo,
|
||||
IncludeGlobalXPub = paymentMethod.IsMultiSigOnServer,
|
||||
IncludeOnlyOutpoints = tx.Transaction.Inputs.Select(i => i.PrevOut).ToList(),
|
||||
SpendAllMatchingOutpoints = true,
|
||||
DisableFingerprintRandomization = true,
|
||||
@@ -1329,6 +1331,7 @@ namespace BTCPayServer.Controllers
|
||||
public async Task<IActionResult> WalletSendVault([ModelBinder(typeof(WalletIdModelBinder))] WalletId walletId,
|
||||
WalletSendVaultModel model)
|
||||
{
|
||||
TempData.SetStatusSuccess(StringLocalizer["Transaction successfully signed"].Value);
|
||||
return await RedirectToWalletPSBTReady(walletId, new WalletPSBTReadyViewModel
|
||||
{
|
||||
SigningContext = model.SigningContext,
|
||||
|
||||
Reference in New Issue
Block a user