diff options
| author | lucash-dev <[email protected]> | 2018-12-08 16:30:55 -0800 |
|---|---|---|
| committer | lucash-dev <[email protected]> | 2018-12-11 19:43:35 -0800 |
| commit | 8db0c3d42b063118d17ab83ba8beeb3852f8fc6e (patch) | |
| tree | 2717f0290a2b2d6f967c57039411304579ad2034 /src/bench/mempool_eviction.cpp | |
| parent | Removed implicit CTransaction constructor from tests (diff) | |
| download | discoin-8db0c3d42b063118d17ab83ba8beeb3852f8fc6e.tar.xz discoin-8db0c3d42b063118d17ab83ba8beeb3852f8fc6e.zip | |
Removed implicit CTransaction conversion from benchmaks
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 3908a7d23..49ea6e88b 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -127,7 +127,7 @@ static void MempoolEviction(benchmark::State& state) AddTx(tx6_r, 1100LL, pool); AddTx(tx7_r, 9000LL, pool); pool.TrimToSize(pool.DynamicMemoryUsage() * 3 / 4); - pool.TrimToSize(GetVirtualTransactionSize(tx1)); + pool.TrimToSize(GetVirtualTransactionSize(*tx1_r)); } } |