aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2022-03-10 10:38:31 +0000
committerglozow <gloriajzhao@gmail.com>2022-03-25 11:57:51 +0000
commit46f2fed6c5e0fa623bfeabf61ba4811d5cf8f47c (patch)
treef7bfef06c07366f28836701e870b8dbb90d2c5f2 /src/bench
parenta44236addd01cff4e4d751e0f379d399fbfc8eae (diff)
downloadbitcoin-46f2fed6c5e0fa623bfeabf61ba4811d5cf8f47c.tar.xz
[wallet] remove MIN_CHANGE
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/coin_selection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp
index 76f1ab3976..18a780646f 100644
--- a/src/bench/coin_selection.cpp
+++ b/src/bench/coin_selection.cpp
@@ -13,13 +13,13 @@
using node::NodeContext;
using wallet::AttemptSelection;
+using wallet::CHANGE_LOWER;
using wallet::COutput;
using wallet::CWallet;
using wallet::CWalletTx;
using wallet::CoinEligibilityFilter;
using wallet::CoinSelectionParams;
using wallet::CreateDummyWalletDatabase;
-using wallet::MIN_CHANGE;
using wallet::OutputGroup;
using wallet::SelectCoinsBnB;
using wallet::TxStateInactive;
@@ -67,7 +67,7 @@ static void CoinSelection(benchmark::Bench& bench)
rand,
/* change_output_size= */ 34,
/* change_spend_size= */ 148,
- /*min_change_target=*/ MIN_CHANGE,
+ /*min_change_target=*/ CHANGE_LOWER,
/* effective_feerate= */ CFeeRate(0),
/* long_term_feerate= */ CFeeRate(0),
/* discard_feerate= */ CFeeRate(0),