aboutsummaryrefslogtreecommitdiff
path: root/src/bench/mempool_eviction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/mempool_eviction.cpp')
-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 3908a7d231..49ea6e88b5 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));
}
}