aboutsummaryrefslogtreecommitdiffstats
path: root/dagger.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-07 05:53:49 +0800
committerGav Wood <i@gavwood.com>2015-03-07 05:53:49 +0800
commit986fdb9d5fef87769caa140d9b4903178cf1874a (patch)
tree7098240e4267d330fb160e6d52896d9ff40750b6 /dagger.cpp
parent0f6224a70f0e53ef88c97f595c1607b164ff7834 (diff)
downloaddexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.tar
dexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.tar.gz
dexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.tar.bz2
dexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.tar.lz
dexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.tar.xz
dexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.tar.zst
dexon-solidity-986fdb9d5fef87769caa140d9b4903178cf1874a.zip
Avoid checking for difficulty when doing PoW test.
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));