aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-05 20:47:39 +0800
committerGav Wood <i@gavwood.com>2015-04-05 20:47:39 +0800
commitc077a523dbadd3e4e3c9029ed6a9a38dc4fdb3c3 (patch)
tree4a81949e699c6d48ff8fc79f7b7997da94271533
parent80dc6380d027cac39dc52653ce61e42375ae8ea1 (diff)
downloaddexon-solidity-c077a523dbadd3e4e3c9029ed6a9a38dc4fdb3c3.tar.gz
dexon-solidity-c077a523dbadd3e4e3c9029ed6a9a38dc4fdb3c3.tar.zst
dexon-solidity-c077a523dbadd3e4e3c9029ed6a9a38dc4fdb3c3.zip
New DAG file scheme.
-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());