mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-04 12:12:58 +02:00
wallet: Remove sighash type enforcement from FillPSBT
This commit is contained in:
parent
4c7d767e49
commit
1f71cd337a
@ -1324,11 +1324,6 @@ std::optional<PSBTError> DescriptorScriptPubKeyMan::FillPSBT(PartiallySignedTran
|
||||
continue;
|
||||
}
|
||||
|
||||
// Get the Sighash type
|
||||
if (sign && input.sighash_type != std::nullopt && *input.sighash_type != sighash_type) {
|
||||
return PSBTError::SIGHASH_MISMATCH;
|
||||
}
|
||||
|
||||
// Get the scriptPubKey to know which SigningProvider to use
|
||||
CScript script;
|
||||
if (!input.witness_utxo.IsNull()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user