mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 9eaef10801 into merged_master (Bitcoin PR bitcoin/bitcoin#25707)
This commit is contained in:
commit
1006327a13
28 changed files with 43 additions and 39 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue