mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge 4687832680 into merged_master (Bitcoin PR bitcoin/bitcoin#30425)
This commit is contained in:
commit
3b875eae79
4 changed files with 60 additions and 57 deletions
|
|
@ -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)},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue