aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/ABI.h
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 /libdevcore/ABI.h
parentd5cfb17b32147e950a689a507e0d5487dece7e8a (diff)
downloaddexon-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 'libdevcore/ABI.h')
-rw-r--r--libdevcore/ABI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/ABI.h b/libdevcore/ABI.h
index 5b7d160d..423cfda8 100644
--- a/libdevcore/ABI.h
+++ b/libdevcore/ABI.h
@@ -63,7 +63,7 @@ template <class T, class ... U> bytes abiInAux(T const& _t, U const& ... _u)
template <class ... T> bytes abiIn(std::string _id, T const& ... _t)
{
- return sha3(_id).ref().cropped(0, 4).toBytes() + abiInAux(_t ...);
+ return keccak256(_id).ref().cropped(0, 4).toBytes() + abiInAux(_t ...);
}
template <class T> struct ABIDeserialiser {};