aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-11 05:27:40 +0800
committerGitHub <noreply@github.com>2016-10-11 05:27:40 +0800
commitfa6c20e81c46ecc05775391c44ca918299746f21 (patch)
tree523d6b6c684951a3b72d5be716e5e9510a3ffbe7
parent0b1d449057af86f58c7fed87712f99616ed246f1 (diff)
parentc4f4d6b971507563828d9f5e952c991297dd7860 (diff)
downloaddexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.tar
dexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.tar.gz
dexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.tar.bz2
dexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.tar.lz
dexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.tar.xz
dexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.tar.zst
dexon-solidity-fa6c20e81c46ecc05775391c44ca918299746f21.zip
Merge pull request #1191 from ethereum/fixbuild
Fix build error.
-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)