diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-04-11 13:51:28 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-04-11 14:59:53 -0400 |
commit | fae58eca934b5c7165b589c3bec1751d1b432b48 (patch) | |
tree | 5d0c8b10608dcced118dc59d7812f8498fcfc012 /src/bench/mempool_eviction.cpp | |
parent | b1fdfc1a8c072f798305f21d5e69207c9e1bed89 (diff) |
tests: Avoid copies of CTransaction
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 cdda0bd9be..e05a5e3d1e 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -9,7 +9,7 @@ #include <list> #include <vector> -static void AddTx(const CTransaction& tx, const CAmount& nFee, CTxMemPool& pool) +static void AddTx(const CMutableTransaction& tx, const CAmount& nFee, CTxMemPool& pool) { int64_t nTime = 0; unsigned int nHeight = 1; |