aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-11-10 22:29:19 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2016-12-21 18:18:23 -0800
commitc44e4c467c30fe7790372bdea8941ba29fd3327e (patch)
treee7dba6fe81eedb3edc3bb205897835e1c81f1060 /src/bench
parente8cfe1ee2d01c493b758a67ad14707dca15792ea (diff)
Make AcceptToMemoryPool take CTransactionRef
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/mempool_eviction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp
index 0ae69c75fc..98ab2a3555 100644
--- a/src/bench/mempool_eviction.cpp
+++ b/src/bench/mempool_eviction.cpp
@@ -18,7 +18,7 @@ static void AddTx(const CTransaction& tx, const CAmount& nFee, CTxMemPool& pool)
unsigned int sigOpCost = 4;
LockPoints lp;
pool.addUnchecked(tx.GetHash(), CTxMemPoolEntry(
- tx, nFee, nTime, dPriority, nHeight, pool.HasNoInputsOf(tx),
+ MakeTransactionRef(tx), nFee, nTime, dPriority, nHeight, pool.HasNoInputsOf(tx),
tx.GetValueOut(), spendsCoinbase, sigOpCost, lp));
}