diff options
author | subtly <subtly@users.noreply.github.com> | 2015-04-06 04:42:51 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2015-04-06 04:42:51 +0800 |
commit | 052fa7d877a589dd32921e4ac8aadb45d94f1185 (patch) | |
tree | e21a5bea1944d9606599fe09a4ed4e647073d0de /dagger.cpp | |
parent | 4597ae7260752ac4bddfe7eb0737088d4fcb3ed7 (diff) | |
parent | a2507495052d39ef4ddfc6fc256b29e063a81eb6 (diff) | |
download | dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.tar dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.tar.gz dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.tar.bz2 dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.tar.lz dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.tar.xz dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.tar.zst dexon-solidity-052fa7d877a589dd32921e4ac8aadb45d94f1185.zip |
Merge branch 'develop' into whisper
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(Ethasher::get()->params(header).cache_size, cacheSize); - BOOST_REQUIRE_EQUAL(sha3(bytesConstRef((byte const*)Ethasher::get()->cache(header), cacheSize)), cacheHash); + BOOST_REQUIRE_EQUAL(sha3(bytesConstRef((byte const*)Ethasher::get()->light(header), cacheSize)), cacheHash); #if TEST_FULL unsigned fullSize(o["full_size"].get_int()); |