Alias sha3 to keccak256 in inline assembly

This commit is contained in:
Alex Beregszaszi 2017-05-11 09:58:45 +01:00
parent 0c8beac357
commit 75e4a2be1b

View File

@ -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;
}