wallet: Remove sighash type enforcement from FillPSBT

This commit is contained in:
Ava Chow committed 2025-05-14 14:00:43 -07:00
1 parent 4c7d767e49
commit 1f71cd337a
1 file changed
-5
-5
View File
@@ -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()) {