|
|
@ -283,7 +283,6 @@ BOOST_AUTO_TEST_CASE(EmptyBlockRoundTripTest) |
|
|
|
std::vector<CTransaction> vtx_missing; |
|
|
|
std::vector<CTransaction> vtx_missing; |
|
|
|
BOOST_CHECK(partialBlock.FillBlock(block2, vtx_missing) == READ_STATUS_OK); |
|
|
|
BOOST_CHECK(partialBlock.FillBlock(block2, vtx_missing) == READ_STATUS_OK); |
|
|
|
BOOST_CHECK_EQUAL(block.GetHash().ToString(), block2.GetHash().ToString()); |
|
|
|
BOOST_CHECK_EQUAL(block.GetHash().ToString(), block2.GetHash().ToString()); |
|
|
|
bool mutated; |
|
|
|
|
|
|
|
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block2, &mutated).ToString()); |
|
|
|
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block2, &mutated).ToString()); |
|
|
|
BOOST_CHECK(!mutated); |
|
|
|
BOOST_CHECK(!mutated); |
|
|
|
} |
|
|
|
} |
|
|
|