aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-10-11 04:14:46 +0800
committerchriseth <c@ethdev.com>2016-10-11 04:14:46 +0800
commitc4f4d6b971507563828d9f5e952c991297dd7860 (patch)
tree523d6b6c684951a3b72d5be716e5e9510a3ffbe7 /test/libsolidity/SolidityEndToEndTest.cpp
parent0b1d449057af86f58c7fed87712f99616ed246f1 (diff)
downloaddexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.tar
dexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.tar.gz
dexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.tar.bz2
dexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.tar.lz
dexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.tar.xz
dexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.tar.zst
dexon-solidity-c4f4d6b971507563828d9f5e952c991297dd7860.zip
Fix build error.
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index 7f9bac60..155f117f 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -2884,10 +2884,12 @@ BOOST_AUTO_TEST_CASE(keccak256_multiple_arguments)
compileAndRun(sourceCode);
BOOST_CHECK(callContractFunction("foo(uint256,uint256,uint256)", 10, 12, 13) == encodeArgs(
- dev::sha3(
- toBigEndian(u256(10)) +
- toBigEndian(u256(12)) +
- toBigEndian(u256(13)))));
+ dev::keccak256(
+ toBigEndian(u256(10)) +
+ toBigEndian(u256(12)) +
+ toBigEndian(u256(13))
+ )
+ ));
}
BOOST_AUTO_TEST_CASE(generic_call)