wallet: remove unused COutput::ToString

No callers. It was used by `COutput::print()`, which was removed in
3802224110 ("Remove all other print() methods").
This commit is contained in:
jeanpablo
2026-08-30 15:39:01 +01:00
parent a0e9aac428
commit 4afc7bc40d
2 changed files with 0 additions and 7 deletions

View File

@@ -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)

View File

@@ -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;