aboutsummaryrefslogtreecommitdiffstats
path: root/dagger.cpp
diff options
context:
space:
mode:
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 dec753fe..a2bd6be6 100644
--- a/dagger.cpp
+++ b/dagger.cpp
@@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(basic_test)
cnote << i.first;
js::mObject& o = i.second.get_obj();
vector<pair<string, string>> ss;
- BlockInfo header = BlockInfo::fromHeader(fromHex(o["header"].get_str()));
+ BlockInfo header = BlockInfo::fromHeader(fromHex(o["header"].get_str()), CheckNothing);
h256 headerHash(o["header_hash"].get_str());
Nonce nonce(o["nonce"].get_str());
BOOST_REQUIRE_EQUAL(headerHash, header.headerHash(WithoutNonce));