aboutsummaryrefslogtreecommitdiff
path: root/src/test/blockencodings_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-07-22 07:42:01 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-07-22 07:40:24 -0400
commit0000ff0aa763e3be524ac4537a41048a26529fb2 (patch)
treede161bf07bf491a0a10a741d3f9eae428eafb897 /src/test/blockencodings_tests.cpp
parent51a6e2c4192913c9c18507d8dfb3302500b26cc3 (diff)
txmempool: Remove unused default value MemPoolRemovalReason::UNKNOWN
Diffstat (limited to 'src/test/blockencodings_tests.cpp')
-rw-r--r--src/test/blockencodings_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/blockencodings_tests.cpp b/src/test/blockencodings_tests.cpp
index dac201a35f..5ce8e6feb0 100644
--- a/src/test/blockencodings_tests.cpp
+++ b/src/test/blockencodings_tests.cpp
@@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE(SimpleRoundTripTest)
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1);
size_t poolSize = pool.size();
- pool.removeRecursive(*block.vtx[2]);
+ pool.removeRecursive(*block.vtx[2], MemPoolRemovalReason::REPLACED);
BOOST_CHECK_EQUAL(pool.size(), poolSize - 1);
CBlock block2;