aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-01-18 20:31:08 -0500
committerAndrew Chow <achow101-github@achow101.com>2022-03-17 11:00:45 -0400
commitb799814bbd53736b79495072f3c9e05989a465e8 (patch)
tree0d1bb9ae46b8dd858ffbff2d053bca68aeb41f66 /src/bench
parent46022953ee2e8113167bafd1fd48a383a578b13c (diff)
downloadbitcoin-b799814bbd53736b79495072f3c9e05989a465e8.tar.xz
wallet: Store tx time in COutput
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/coin_selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp
index c9c9fa3c9c..4cbfb05228 100644
--- a/src/bench/coin_selection.cpp
+++ b/src/bench/coin_selection.cpp
@@ -58,7 +58,7 @@ static void CoinSelection(benchmark::Bench& bench)
// Create coins
std::vector<COutput> coins;
for (const auto& wtx : wtxs) {
- coins.emplace_back(wallet, *wtx, /*iIn=*/ 0, /*depth=*/ 6 * 24, /*spendable=*/ true, /*solvable=*/ true, /*safe=*/ true, /*use_max_sig_in=*/ false);
+ coins.emplace_back(wallet, *wtx, /*iIn=*/ 0, /*depth=*/ 6 * 24, /*spendable=*/ true, /*solvable=*/ true, /*safe=*/ true, wtx->GetTxTime(), /*use_max_sig_in=*/ false);
}
const CoinEligibilityFilter filter_standard(1, 6, 0);