Merge 5ccab7187b into merged_master (Bitcoin PR bitcoin/bitcoin#23394)

- commented out some script tests that need to be fixed
 - commented out feature_taproot.py since it needs significant updates
This commit is contained in:
Byron Hambly 2023-05-25 10:03:24 +00:00
commit 1beaa601b4
14 changed files with 947 additions and 56 deletions

View file

@ -85,7 +85,8 @@ bool MutableTransactionSignatureCreator::CreateSchnorrSig(const SigningProvider&
uint256 hash;
if (!SignatureHashSchnorr(hash, execdata, *txTo, nIn, nHashType, sigversion, *m_txdata, MissingDataBehavior::FAIL)) return false;
sig.resize(64);
if (!key.SignSchnorr(hash, sig, merkle_root, nullptr)) return false;
// Use uint256{} as aux_rnd for now.
if (!key.SignSchnorr(hash, sig, merkle_root, {})) return false;
if (nHashType) sig.push_back(nHashType);
return true;
}