aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-03-15 02:42:18 -0400
committerAndrew Chow <achow101-github@achow101.com>2018-03-15 02:42:18 -0400
commit6ef99826b9ab2c9d95ed4b55403d22225bcf086a (patch)
tree9a9403bc592b6f38cb864625135b35761e4254a8 /src/wallet/wallet.h
parente057589dc67f25da6779b60d0e247a3730adbc6d (diff)
downloadbitcoin-6ef99826b9ab2c9d95ed4b55403d22225bcf086a.tar.xz
Actually disable BnB when there are preset inputs
We don't want to use BnB when there are preset inputs because there is some weirdness with making that work with using the KnapsackSolver as the fallback. Currently we say that we haven't used bnb when there are preset inputs, but we don't actually disable BnB. This fixes that.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index dc0e8d07d7..a88da71f91 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -674,7 +674,7 @@ private:
* if they are not ours
*/
bool SelectCoins(const std::vector<COutput>& vAvailableCoins, const CAmount& nTargetValue, std::set<CInputCoin>& setCoinsRet, CAmount& nValueRet,
- const CCoinControl& coin_control, const CoinSelectionParams& coin_selection_params, bool& bnb_used) const;
+ const CCoinControl& coin_control, CoinSelectionParams& coin_selection_params, bool& bnb_used) const;
CWalletDB *pwalletdbEncryption;