0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

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 2021-09-28 08:50:02 +02:00
parent fa6c1e850f
commit 2222c04e1b
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

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