@@ -2495,7 +2495,7 @@ TransactionError DescriptorScriptPubKeyMan::FillPSBT(PartiallySignedTransaction&
2495
2495
input.FillSignatureData (sigdata);
2496
2496
2497
2497
std::unique_ptr<FlatSigningProvider> keys = std::make_unique<FlatSigningProvider>();
2498
- std::unique_ptr<FlatSigningProvider> script_keys = GetSigningProvider (script, sign);
2498
+ std::unique_ptr<FlatSigningProvider> script_keys = GetSigningProvider (script, /* include_private= */ sign);
2499
2499
if (script_keys) {
2500
2500
keys->Merge (std::move (*script_keys));
2501
2501
} else {
@@ -2536,7 +2536,7 @@ TransactionError DescriptorScriptPubKeyMan::FillPSBT(PartiallySignedTransaction&
2536
2536
}
2537
2537
}
2538
2538
2539
- SignPSBTInput (HidingSigningProvider (keys.get (), !sign, !bip32derivs), psbtx, i, &txdata, sighash_type, nullptr , finalize);
2539
+ SignPSBTInput (HidingSigningProvider (keys.get (), /* hide_secret= */ !sign, /* hide_origin= */ !bip32derivs), psbtx, i, &txdata, sighash_type, nullptr , finalize);
2540
2540
2541
2541
bool signed_one = PSBTInputSigned (input);
2542
2542
if (n_signed && (signed_one || !sign)) {
@@ -2553,7 +2553,7 @@ TransactionError DescriptorScriptPubKeyMan::FillPSBT(PartiallySignedTransaction&
2553
2553
if (!keys) {
2554
2554
continue ;
2555
2555
}
2556
- UpdatePSBTOutput (HidingSigningProvider (keys.get (), true , !bip32derivs), psbtx, i);
2556
+ UpdatePSBTOutput (HidingSigningProvider (keys.get (), /* hide_secret= */ true , /* hide_origin= */ !bip32derivs), psbtx, i);
2557
2557
}
2558
2558
2559
2559
return TransactionError::OK;
0 commit comments