Skip to content

Commit 1f71cd3

Browse files
committed
wallet: Remove sighash type enforcement from FillPSBT
1 parent 4c7d767 commit 1f71cd3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/wallet/scriptpubkeyman.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,11 +1324,6 @@ std::optional<PSBTError> DescriptorScriptPubKeyMan::FillPSBT(PartiallySignedTran
13241324
continue;
13251325
}
13261326

1327-
// Get the Sighash type
1328-
if (sign && input.sighash_type != std::nullopt && *input.sighash_type != sighash_type) {
1329-
return PSBTError::SIGHASH_MISMATCH;
1330-
}
1331-
13321327
// Get the scriptPubKey to know which SigningProvider to use
13331328
CScript script;
13341329
if (!input.witness_utxo.IsNull()) {

0 commit comments

Comments
 (0)