Skip to content

Commit 0fb9c87

Browse files
author
MarcoFalke
committed
Merge #13822: bench: Make CoinSelection output groups pass eligibility filter
494634a bench: Make CoinSelection output groups pass eligibility filter (Andrew Chow) Pull request description: Set the depth of the output groups used in the CoinSelection benchmark to be 6 in order to pass the eligibility filter for the benchmark. Fixes #13813 Tree-SHA512: 55fc6aeda0127f5e155efb982aec211b70dfd3257808dce627886af6866ffa25de4df3c9b10f8c45b6c298a42542c54654f36e59efb208e9055885361f0e501c
2 parents 7d36237 + 494634a commit 0fb9c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bench/coin_selection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static void addCoin(const CAmount& nValue, const CWallet& wallet, std::vector<Ou
2121

2222
int nAge = 6 * 24;
2323
COutput output(wtx, nInput, nAge, true /* spendable */, true /* solvable */, true /* safe */);
24-
groups.emplace_back(output.GetInputCoin(), 0, false, 0, 0);
24+
groups.emplace_back(output.GetInputCoin(), 6, false, 0, 0);
2525
}
2626

2727
// Simple benchmark for wallet coin selection. Note that it maybe be necessary

0 commit comments

Comments
 (0)