diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-11-29 17:51:26 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2016-12-05 13:41:25 -0500 |
commit | a874ab5ccf7839edb445830f81591fa608d85fa6 (patch) | |
tree | b041fb44aea7e908b057a9ced215c3ad39941db9 /src/test/blockencodings_tests.cpp | |
parent | bf663f8e93454fdc7c77e298586cefbb4488ee4c (diff) |
remove internal tracking of mempool conflicts for reporting to wallet
Diffstat (limited to 'src/test/blockencodings_tests.cpp')
-rw-r--r-- | src/test/blockencodings_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/blockencodings_tests.cpp b/src/test/blockencodings_tests.cpp index b013cda6d7..7478758f73 100644 --- a/src/test/blockencodings_tests.cpp +++ b/src/test/blockencodings_tests.cpp @@ -80,9 +80,9 @@ BOOST_AUTO_TEST_CASE(SimpleRoundTripTest) BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1); - std::vector<CTransactionRef> removed; - pool.removeRecursive(*block.vtx[2], &removed); - BOOST_CHECK_EQUAL(removed.size(), 1); + size_t poolSize = pool.size(); + pool.removeRecursive(*block.vtx[2]); + BOOST_CHECK_EQUAL(pool.size(), poolSize - 1); CBlock block2; std::vector<CTransactionRef> vtx_missing; |