aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-02 12:25:49 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-02 12:25:59 +0200
commit381d0ddc8aaa5519c18b8eb8fd59db798546af44 (patch)
treee5312ad54849f0a6fd5b9e39696056565a99e5a3 /src/test
parent6f939c9080a3bc7d5eb5d50f1b6ed42b0f3f692c (diff)
parenta159f25e19b8d921e30742f5ba87ef12803d991d (diff)
Merge #8449: [Trivial] Do not shadow local variable, cleanup
a159f25 Remove redundand (and shadowing) declaration (Pavel Janík) cce3024 Do not shadow local variable, cleanup (Pavel Janík)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/blockencodings_tests.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/blockencodings_tests.cpp b/src/test/blockencodings_tests.cpp
index 3884bf3fe3..d2392cfb22 100644
--- a/src/test/blockencodings_tests.cpp
+++ b/src/test/blockencodings_tests.cpp
@@ -283,7 +283,6 @@ BOOST_AUTO_TEST_CASE(EmptyBlockRoundTripTest)
std::vector<CTransaction> vtx_missing;
BOOST_CHECK(partialBlock.FillBlock(block2, vtx_missing) == READ_STATUS_OK);
BOOST_CHECK_EQUAL(block.GetHash().ToString(), block2.GetHash().ToString());
- bool mutated;
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block2, &mutated).ToString());
BOOST_CHECK(!mutated);
}