From 2222c04e1b9960030cb590c789a0d2375add4544 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 28 Sep 2021 08:50:02 +0200 Subject: [PATCH] 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. --- src/wallet/coinselection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index 8cff6e99b7..a03d17cb7a 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -279,7 +279,7 @@ bool KnapsackSolver(const CAmount& nTargetValue, std::vector& 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));