From cd927ff3283fc23a5f42c178e10bcaf5409bb7ea Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Sat, 10 Mar 2018 00:39:29 -0500 Subject: Move original knapsack solver tests to coinselector_tests.cpp --- src/wallet/wallet.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/wallet/wallet.cpp') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index ae882d7bd..37e071d99 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -69,15 +69,6 @@ const uint256 CMerkleTx::ABANDON_HASH(uint256S("00000000000000000000000000000000 * @{ */ -struct CompareValueOnly -{ - bool operator()(const CInputCoin& t1, - const CInputCoin& t2) const - { - return t1.txout.nValue < t2.txout.nValue; - } -}; - std::string COutput::ToString() const { return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString(), i, nDepth, FormatMoney(tx->tx->vout[i].nValue)); -- cgit v1.2.3