diff options
| author | Pieter Wuille <[email protected]> | 2016-11-10 22:29:19 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-12-21 18:18:23 -0800 |
| commit | c44e4c467c30fe7790372bdea8941ba29fd3327e (patch) | |
| tree | e7dba6fe81eedb3edc3bb205897835e1c81f1060 /src/test/txvalidationcache_tests.cpp | |
| parent | Merge #8589: Inline CTxInWitness inside CTxIn (diff) | |
| download | discoin-c44e4c467c30fe7790372bdea8941ba29fd3327e.tar.xz discoin-c44e4c467c30fe7790372bdea8941ba29fd3327e.zip | |
Make AcceptToMemoryPool take CTransactionRef
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 9f58f004d..ac78fb1fd 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, true, 0); + return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), false, NULL, true, 0); } BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup) |