Merge 4687832680 into merged_master (Bitcoin PR bitcoin/bitcoin#30425)

This commit is contained in:
Tom Trevethan 2026-03-09 01:00:09 +00:00
commit 3b875eae79
4 changed files with 60 additions and 57 deletions

View file

@ -245,7 +245,7 @@ bool ParseHashStr(const std::string& strHex, uint256& result)
util::Result<int> SighashFromStr(const std::string& sighash)
{
static std::map<std::string, int> map_sighash_values = {
static const std::map<std::string, int> map_sighash_values = {
{std::string("DEFAULT"), int(SIGHASH_DEFAULT)},
{std::string("ALL"), int(SIGHASH_ALL)},
{std::string("ALL|ANYONECANPAY"), int(SIGHASH_ALL|SIGHASH_ANYONECANPAY)},