diff options
author | chriseth <c@ethdev.com> | 2015-04-17 22:24:23 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-17 22:24:23 +0800 |
commit | 6b08b99b5ef319837f9293cca6fd74803fe4688d (patch) | |
tree | fe3e39ec2f14e1c52137c9734da36766ba57ba53 /dagger.cpp | |
parent | 6753e0a8e6796e99ee826c28c7bcbde55348b07d (diff) | |
parent | 7571971ca05fd12e3603531044e094ffc0000fb2 (diff) | |
download | dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.gz dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.bz2 dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.lz dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.xz dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.zst dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.zip |
Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Diffstat (limited to 'dagger.cpp')
-rw-r--r-- | dagger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(basic_test) unsigned cacheSize(o["cache_size"].get_int()); h256 cacheHash(o["cache_hash"].get_str()); BOOST_REQUIRE_EQUAL(EthashAux::get()->params(header).cache_size, cacheSize); - BOOST_REQUIRE_EQUAL(sha3(bytesConstRef((byte const*)EthashAux::get()->light(header), cacheSize)), cacheHash); + BOOST_REQUIRE_EQUAL(sha3(EthashAux::get()->light(header)->data()), cacheHash); #if TEST_FULL unsigned fullSize(o["full_size"].get_int()); |