Skip to content

Commit 2222c04

Browse files
author
MarcoFalke
committed
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.
1 parent fa6c1e8 commit 2222c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/coinselection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ bool KnapsackSolver(const CAmount& nTargetValue, std::vector<OutputGroup>& group
279279
}
280280

281281
if (LogAcceptCategory(BCLog::SELECTCOINS)) {
282-
std::string log_message{"SelectCoins() best subset: "};
282+
std::string log_message{"Coin selection best subset: "};
283283
for (unsigned int i = 0; i < applicable_groups.size(); i++) {
284284
if (vfBest[i]) {
285285
log_message += strprintf("%s ", FormatMoney(applicable_groups[i].m_value));

0 commit comments

Comments
 (0)