diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-05 18:30:28 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-06 21:53:40 +0800 |
commit | aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9 (patch) | |
tree | 30d17c29abf022cfcde24d13ebbd9285aadeb62b /libsolidity/codegen/ExpressionCompiler.cpp | |
parent | d5cfb17b32147e950a689a507e0d5487dece7e8a (diff) | |
download | dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.gz dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.bz2 dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.lz dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.xz dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.zst dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.zip |
Rename dev::sha3 to dev::keccak256
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-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 26acd8a4..3d05edd3 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -670,7 +670,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) } if (!event.isAnonymous()) { - m_context << u256(h256::Arith(dev::sha3(function.externalSignature()))); + m_context << u256(h256::Arith(dev::keccak256(function.externalSignature()))); ++numIndexed; } solAssert(numIndexed <= 4, "Too many indexed arguments."); |