diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-01-04 12:22:49 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-01-04 12:23:10 +0100 |
| commit | 869781c51cc1b6ee0a8635bcefbcbe11db7f5b25 (patch) | |
| tree | 9f566f00ccb67f888c6e5a8026215fed51169514 /src/test/test_bitcoin.cpp | |
| parent | Merge #9289: net: drop boost::thread_group (diff) | |
| parent | Remove unused MakeTransactionRef overloads (diff) | |
| download | discoin-869781c51cc1b6ee0a8635bcefbcbe11db7f5b25.tar.xz discoin-869781c51cc1b6ee0a8635bcefbcbe11db7f5b25.zip | |
Merge #9283: A few more CTransactionRef optimizations
91335ba Remove unused MakeTransactionRef overloads (Pieter Wuille)
6713f0f Make FillBlock consume txn_available to avoid shared_ptr copies (Pieter Wuille)
62607d7 Convert COrphanTx to keep a CTransactionRef (Pieter Wuille)
c44e4c4 Make AcceptToMemoryPool take CTransactionRef (Pieter Wuille)
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index d17b4469c..672cd1142 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -151,7 +151,7 @@ CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CTransaction &txn, CTxMemPo // Hack to assume either its completely dependent on other mempool txs or not at all CAmount inChainValue = hasNoDependencies ? txn.GetValueOut() : 0; - return CTxMemPoolEntry(txn, nFee, nTime, dPriority, nHeight, + return CTxMemPoolEntry(MakeTransactionRef(txn), nFee, nTime, dPriority, nHeight, hasNoDependencies, inChainValue, spendsCoinbase, sigOpCost, lp); } |