Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in libevmasm)

This commit is contained in:
Alex Beregszaszi
2018-08-08 22:37:40 +01:00
parent 478012a000
commit ed52f422b7
6 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -899,7 +899,7 @@ public:
Creation, ///< external call using CREATE
Send, ///< CALL, but without data and gas
Transfer, ///< CALL, but without data and throws on error
SHA3, ///< SHA3
KECCAK256, ///< KECCAK256
Selfdestruct, ///< SELFDESTRUCT
Revert, ///< REVERT
ECRecover, ///< CALL to special contract for ecrecover
@@ -1070,7 +1070,7 @@ public:
{
switch (m_kind)
{
case FunctionType::Kind::SHA3:
case FunctionType::Kind::KECCAK256:
case FunctionType::Kind::SHA256:
case FunctionType::Kind::RIPEMD160:
case FunctionType::Kind::BareCall: