From f7086fd8ff084ab0dd656d75b7485e59263bdfd8 Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Fri, 12 Nov 2021 11:13:29 -0500 Subject: Add src/wallet/* code to wallet:: namespace --- src/wallet/coinselection.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet/coinselection.cpp') diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index 3b48a8957e..23faad027f 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -13,6 +13,7 @@ #include #include +namespace wallet { // Descending order comparator struct { bool operator()(const OutputGroup& a, const OutputGroup& b) const @@ -429,3 +430,4 @@ bool SelectionResult::operator<(SelectionResult other) const // As this operator is only used in std::min_element, we want the result that has more inputs when waste are equal. return *m_waste < *other.m_waste || (*m_waste == *other.m_waste && m_selected_inputs.size() > other.m_selected_inputs.size()); } +} // namespace wallet -- cgit v1.2.3