diff options
author | Gav Wood <i@gavwood.com> | 2015-03-07 05:53:49 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-07 05:53:49 +0800 |
commit | 986fdb9d5fef87769caa140d9b4903178cf1874a (patch) | |
tree | 7098240e4267d330fb160e6d52896d9ff40750b6 /dagger.cpp | |
parent | 0f6224a70f0e53ef88c97f595c1607b164ff7834 (diff) | |
download | dexon-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |