diff options
| author | Matt Corallo <[email protected]> | 2015-10-02 14:20:38 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2015-10-13 01:39:38 -0700 |
| commit | d355cf4420043a866e418c97778d999cd1958f61 (patch) | |
| tree | ffd7f4048f86201a3737bb04a795d1c5c60970b0 /src/test/txvalidationcache_tests.cpp | |
| parent | Implement on-the-fly mempool size limitation. (diff) | |
| download | discoin-d355cf4420043a866e418c97778d999cd1958f61.tar.xz discoin-d355cf4420043a866e418c97778d999cd1958f61.zip | |
Only call TrimToSize once per reorg/blocks disconnect
Diffstat (limited to 'src/test/txvalidationcache_tests.cpp')
| -rw-r--r-- | src/test/txvalidationcache_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/txvalidationcache_tests.cpp b/src/test/txvalidationcache_tests.cpp index edad18644..9b8e1c088 100644 --- a/src/test/txvalidationcache_tests.cpp +++ b/src/test/txvalidationcache_tests.cpp @@ -23,7 +23,7 @@ ToMemPool(CMutableTransaction& tx) LOCK(cs_main); CValidationState state; - return AcceptToMemoryPool(mempool, state, tx, false, NULL, false); + return AcceptToMemoryPool(mempool, state, tx, false, NULL, true, false); } BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup) |