aboutsummaryrefslogtreecommitdiffstats
path: root/dagger.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-04-06 16:20:58 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-04-06 16:20:58 +0800
commitb9ace5452ea869418c350d632f7e23fa83d6ff75 (patch)
tree21b9af6219b11f7b696dca486753d76bc0df1892 /dagger.cpp
parent8921dc0de43536cf94c43647282fb379a57888e9 (diff)
parentac32ee3ec7f960f80442b00e55455661fa94572d (diff)
downloaddexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.tar
dexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.tar.gz
dexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.tar.bz2
dexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.tar.lz
dexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.tar.xz
dexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.tar.zst
dexon-solidity-b9ace5452ea869418c350d632f7e23fa83d6ff75.zip
Merge remote-tracking branch 'upstream/develop' into addTests
Diffstat (limited to 'dagger.cpp')
-rw-r--r--dagger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dagger.cpp b/dagger.cpp
index 4dda9c4f..4abba509 100644
--- a/dagger.cpp
+++ b/dagger.cpp
@@ -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());