diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-08-31 16:45:39 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-10-02 12:35:04 -0400 |
commit | 416d74fb1687ae1d47a58c153d09d9afe0b6dc60 (patch) | |
tree | bd3fef5010a23b8fdcdd4f6f06d6a54aa0b71865 /src/bench | |
parent | d895e98b594b873f3d34c8ba63e9b55125d51b5a (diff) |
Move OutputGroup positive only filtering into Insert
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/coin_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp index 6cb45ec7a5..6af7e785de 100644 --- a/src/bench/coin_selection.cpp +++ b/src/bench/coin_selection.cpp @@ -75,7 +75,7 @@ static void add_coin(const CAmount& nValue, int nInput, std::vector<OutputGroup> tx.vout[nInput].nValue = nValue; std::unique_ptr<CWalletTx> wtx = MakeUnique<CWalletTx>(&testWallet, MakeTransactionRef(std::move(tx))); set.emplace_back(); - set.back().Insert(COutput(wtx.get(), nInput, 0, true, true, true).GetInputCoin(), 0, true, 0, 0); + set.back().Insert(COutput(wtx.get(), nInput, 0, true, true, true).GetInputCoin(), 0, true, 0, 0, false); wtxn.emplace_back(std::move(wtx)); } // Copied from src/wallet/test/coinselector_tests.cpp |