aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-10-11 03:23:27 +0800
committerGitHub <noreply@github.com>2016-10-11 03:23:27 +0800
commit0b1d449057af86f58c7fed87712f99616ed246f1 (patch)
treeeba62ad13a8e688b41c51fb3226ac47369e7cea3 /libevmasm/Assembly.cpp
parent119bd4addc20498d41d92109e1332a37e6fcd2d8 (diff)
parentf77a4585ec0d4f13b6d672095cc242f59a79c65a (diff)
downloaddexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.tar
dexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.tar.gz
dexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.tar.bz2
dexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.tar.lz
dexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.tar.xz
dexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.tar.zst
dexon-solidity-0b1d449057af86f58c7fed87712f99616ed246f1.zip
Merge pull request #1168 from ethereum/rename-dev-sha3
Rename dev::sha3 to dev::keccak256
Diffstat (limited to 'libevmasm/Assembly.cpp')
-rw-r--r--libevmasm/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp
index c7822819..450ee6ce 100644
--- a/libevmasm/Assembly.cpp
+++ b/libevmasm/Assembly.cpp
@@ -296,7 +296,7 @@ AssemblyItem const& Assembly::append(AssemblyItem const& _i)
AssemblyItem Assembly::newPushLibraryAddress(string const& _identifier)
{
- h256 h(dev::sha3(_identifier));
+ h256 h(dev::keccak256(_identifier));
m_libraries[h] = _identifier;
return AssemblyItem(PushLibraryAddress, h);
}