diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-08 23:31:46 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-09 05:37:40 +0800 |
commit | ed52f422b78b262c6d0e2e88b45e6cbeec470dc7 (patch) | |
tree | 2e470eb3677d93b997dec062de8a7acb64c1c3d2 /libsolidity/codegen | |
parent | 478012a00058767ab82b17a8cb21bfa5f6e7ee44 (diff) | |
download | dexon-solidity-ed52f422b78b262c6d0e2e88b45e6cbeec470dc7.tar.gz dexon-solidity-ed52f422b78b262c6d0e2e88b45e6cbeec470dc7.tar.zst dexon-solidity-ed52f422b78b262c6d0e2e88b45e6cbeec470dc7.zip |
Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in libevmasm)
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r-- | libsolidity/codegen/ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index 54518906..412a7255 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -701,7 +701,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) m_context.appendRevert(); break; } - case FunctionType::Kind::SHA3: + case FunctionType::Kind::KECCAK256: { solAssert(arguments.size() == 1, ""); solAssert(!function.padArguments(), ""); |