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/bench/mempool_eviction.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/bench/mempool_eviction.cpp')
| -rw-r--r-- | src/bench/mempool_eviction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index 0ae69c75f..98ab2a355 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)); } |