diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index 8d69957c302..51c50647871 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -1027,11 +1027,6 @@ bool SelectionResult::operator<(SelectionResult other) const return *m_waste < *other.m_waste || (*m_waste == *other.m_waste && m_selected_inputs.size() > other.m_selected_inputs.size()); } -std::string COutput::ToString() const -{ - return strprintf("COutput(%s, %d, %d) [%s]", outpoint.hash.ToString(), outpoint.n, depth, FormatMoney(txout.nValue)); -} - std::string GetAlgorithmName(const SelectionAlgorithm algo) { switch (algo) diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h index a6206331acb..21fe9ff74bc 100644 --- a/src/wallet/coinselection.h +++ b/src/wallet/coinselection.h @@ -98,8 +98,6 @@ public: effective_value = txout.nValue - fee.value(); } - std::string ToString() const; - bool operator<(const COutput& rhs) const { return outpoint < rhs.outpoint;