diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-09-03 18:31:32 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-09-03 18:31:32 +0000 |
| commit | b441687b5344454bea16384fe1280e470964faaa (patch) | |
| tree | 6b73d97bf4433ffb4896997c11a0d30d996a0e80 | |
| parent | 437d23184e6edd2d1777ef25e5a5a091adbca551 (diff) | |
payout: move the last two burst-capable money lines to LogPrintAlways
Integration review found two more payout lines still on plain LogPrint,
both fired per record inside the batch loop in PayoutThreadFn -- the
same one-window burst shape as the four already converted. The
"writing off" line in ForfeitPayoutRecipient and the "SKIPPED bad
address" line at the write-off in PayoutThreadFn both report
obligations being destroyed, which is the class of line one summary
must never stand in for (issue #3). Message text is unchanged.
| -rw-r--r-- | src/rpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp index 2e8f4b8..6531fe8 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp | |||
| @@ -1933,7 +1933,7 @@ static void RecordPayoutTxid(const PayingRecord& r, const std::string& txid) | |||
| 1933 | // disagreeing. | 1933 | // disagreeing. |
| 1934 | static void ForfeitPayoutRecipient(const PayingRecord& r, const std::string& reason) | 1934 | static void ForfeitPayoutRecipient(const PayingRecord& r, const std::string& reason) |
| 1935 | { | 1935 | { |
| 1936 | LogPrint("payout", "[payout] writing off %s owed to %s for block %d: %s\n", | 1936 | LogPrintAlways("payout", "[payout] writing off %s owed to %s for block %d: %s\n", |
| 1937 | FormatMoney(r.amount).c_str(), r.address.c_str(), r.blockHeight, | 1937 | FormatMoney(r.amount).c_str(), r.address.c_str(), r.blockHeight, |
| 1938 | reason.c_str()); | 1938 | reason.c_str()); |
| 1939 | VersionedBlob blob; | 1939 | VersionedBlob blob; |
| @@ -2082,7 +2082,7 @@ static void PayoutThreadFn(void*) | |||
| 2082 | const std::string reason = | 2082 | const std::string reason = |
| 2083 | strprintf("'%s' is not a valid address, so no transaction" | 2083 | strprintf("'%s' is not a valid address, so no transaction" |
| 2084 | " can pay it", r.address.c_str()); | 2084 | " can pay it", r.address.c_str()); |
| 2085 | LogPrint("payout", "[payout] SKIPPED bad address '%s' --" | 2085 | LogPrintAlways("payout", "[payout] SKIPPED bad address '%s' --" |
| 2086 | " %s owed for block %d cannot be paid\n", | 2086 | " %s owed for block %d cannot be paid\n", |
| 2087 | r.address.c_str(), FormatMoney(r.amount).c_str(), | 2087 | r.address.c_str(), FormatMoney(r.amount).c_str(), |
| 2088 | r.blockHeight); | 2088 | r.blockHeight); |