aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2016-12-02 15:29:20 -0500
committerGregory Sanders <gsanders87@gmail.com>2016-12-13 09:41:04 -0500
commit0b2294a980319cbffa8612ce993e0ecaa26fa509 (patch)
tree82322585413c329bb052fd10715251d2935dec37 /src/bench
parentdc6dee41f7cf2ba93fcd0fea7c157e4b2775d439 (diff)
SelectCoinsMinConf: Prefer coins with fewer ancestors
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 7091ee3e11..ce1ce511e3 100644
--- a/src/bench/coin_selection.cpp
+++ b/src/bench/coin_selection.cpp
@@ -52,7 +52,7 @@ static void CoinSelection(benchmark::State& state)
set<pair<const CWalletTx*, unsigned int> > setCoinsRet;
CAmount nValueRet;
- bool success = wallet.SelectCoinsMinConf(1003 * COIN, 1, 6, vCoins, setCoinsRet, nValueRet);
+ bool success = wallet.SelectCoinsMinConf(1003 * COIN, 1, 6, 0, vCoins, setCoinsRet, nValueRet);
assert(success);
assert(nValueRet == 1003 * COIN);
assert(setCoinsRet.size() == 2);