log: Adjust coin selection log string

Replace the outdated function name with words from the English language.
Logging the function name can be toggled with -logsourcelocations.
This commit is contained in:
MarcoFalke committed 2021-09-29 18:49:20 +02:00
1 parent fa6c1e850f
commit 2222c04e1b
1 file changed
+1 -1
+1 -1
View File
@@ -279,7 +279,7 @@ bool KnapsackSolver(const CAmount& nTargetValue, std::vector<OutputGroup>& group
}
if (LogAcceptCategory(BCLog::SELECTCOINS)) {
std::string log_message{"SelectCoins() best subset: "};
std::string log_message{"Coin selection best subset: "};
for (unsigned int i = 0; i < applicable_groups.size(); i++) {
if (vfBest[i]) {
log_message += strprintf("%s ", FormatMoney(applicable_groups[i].m_value));