aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-05 18:30:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-06 21:53:40 +0800
commitaefb6e5fcf9adc7c58da9ec0454707305f7e9ac9 (patch)
tree30d17c29abf022cfcde24d13ebbd9285aadeb62b /libsolidity/ast/AST.cpp
parentd5cfb17b32147e950a689a507e0d5487dece7e8a (diff)
downloaddexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.gz
dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.zst
dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.zip
Rename dev::sha3 to dev::keccak256
Diffstat (limited to 'libsolidity/ast/AST.cpp')
-rw-r--r--libsolidity/ast/AST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/AST.cpp b/libsolidity/ast/AST.cpp
index 294daa13..cca19a4e 100644
--- a/libsolidity/ast/AST.cpp
+++ b/libsolidity/ast/AST.cpp
@@ -151,7 +151,7 @@ vector<pair<FixedHash<4>, FunctionTypePointer>> const& ContractDefinition::inter
if (signaturesSeen.count(functionSignature) == 0)
{
signaturesSeen.insert(functionSignature);
- FixedHash<4> hash(dev::sha3(functionSignature));
+ FixedHash<4> hash(dev::keccak256(functionSignature));
m_interfaceFunctionList->push_back(make_pair(hash, fun));
}
}