Merge 9eaef10801 into merged_master (Bitcoin PR bitcoin/bitcoin#25707)

This commit is contained in:
Byron Hambly 2024-11-04 11:26:40 +02:00
commit 1006327a13
28 changed files with 43 additions and 39 deletions

View file

@ -271,7 +271,7 @@ int ParseSighashString(const UniValue& sighash)
{std::string("SINGLE|RANGEPROOF"), int(SIGHASH_SINGLE|SIGHASH_RANGEPROOF)},
{std::string("SINGLE|ANYONECANPAY|RANGEPROOF"), int(SIGHASH_SINGLE|SIGHASH_ANYONECANPAY|SIGHASH_RANGEPROOF)},
};
std::string strHashType = sighash.get_str();
const std::string& strHashType = sighash.get_str();
const auto& it = map_sighash_values.find(strHashType);
if (it != map_sighash_values.end()) {
hash_type = it->second;