mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Alias sha3 to keccak256 in inline assembly
This commit is contained in:
parent
0c8beac357
commit
75e4a2be1b
@ -200,6 +200,8 @@ std::map<string, dev::solidity::Instruction> const& Parser::instructions()
|
||||
|
||||
// add alias for suicide
|
||||
s_instructions["suicide"] = solidity::Instruction::SELFDESTRUCT;
|
||||
// add alis for sha3
|
||||
s_instructions["sha3"] = solidity::Instruction::KECCAK256;
|
||||
}
|
||||
return s_instructions;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user