Skip to content

Commit

Permalink
merge bitcoin#22008: Cleanup and refactor CreateTransactionInternal
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Feb 25, 2025
1 parent a73024d commit f94993c
Show file tree
Hide file tree
Showing 4 changed files with 304 additions and 313 deletions.
2 changes: 1 addition & 1 deletion src/bench/coin_selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static void CoinSelection(benchmark::Bench& bench)
bench.run([&] {
std::set<CInputCoin> setCoinsRet;
CAmount nValueRet;
bool success = wallet.SelectCoinsMinConf(1003 * COIN, filter_standard, coins, setCoinsRet, nValueRet, coin_selection_params);
bool success = wallet.AttemptSelection(1003 * COIN, filter_standard, coins, setCoinsRet, nValueRet, coin_selection_params);
assert(success);
assert(nValueRet == 1003 * COIN);
assert(setCoinsRet.size() == 2);
Expand Down
Loading

0 comments on commit f94993c

Please sign in to comment.