diff options
| author | Pieter Wuille <[email protected]> | 2016-08-15 13:10:57 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-10-21 19:22:43 -0700 |
| commit | 51f278329d43398428d60f5986f8d29a2041d28d (patch) | |
| tree | bed01adf0a9ef92f90711dc08ca05934c582da6f /src/test/blockencodings_tests.cpp | |
| parent | Bypass removeRecursive in removeForReorg (diff) | |
| download | discoin-51f278329d43398428d60f5986f8d29a2041d28d.tar.xz discoin-51f278329d43398428d60f5986f8d29a2041d28d.zip | |
Make removed and conflicted arguments optional to remove
Diffstat (limited to 'src/test/blockencodings_tests.cpp')
| -rw-r--r-- | src/test/blockencodings_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/blockencodings_tests.cpp b/src/test/blockencodings_tests.cpp index 7530b013b..f3f1befbc 100644 --- a/src/test/blockencodings_tests.cpp +++ b/src/test/blockencodings_tests.cpp @@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE(SimpleRoundTripTest) BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2].GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1); std::list<CTransaction> removed; - pool.removeRecursive(block.vtx[2], removed); + pool.removeRecursive(block.vtx[2], &removed); BOOST_CHECK_EQUAL(removed.size(), 1); CBlock block2; |