Skip to content

Commit 91c0950

Browse files
fix: improve logging format in CSigSharesManager
Updated the logging statement in CSigSharesManager to enhance readability by continuing the format string on a new line. This change maintains the existing logging functionality while improving code clarity.
1 parent c824b62 commit 91c0950

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/llmq/signing_shares.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,8 @@ bool CSigSharesManager::ProcessMessageSigSharesInv(const CNode& pfrom, const CSi
367367

368368
if (!sessionInfo->quorum->HasVerificationVector()) {
369369
// TODO we should allow to ask other nodes for the quorum vvec if we missed it in the DKG
370-
LogPrint(BCLog::LLMQ_SIGS,
371-
"CSigSharesManager::%s -- we don't have the quorum vvec for %s, not requesting sig shares. "
372-
"node=%d\n",
370+
LogPrint(BCLog::LLMQ_SIGS, /* Continued */
371+
"CSigSharesManager::%s -- we don't have the quorum vvec for %s, not requesting sig shares. node=%d\n",
373372
__func__, sessionInfo->quorumHash.ToString(), pfrom.GetId());
374373
return true;
375374
}
@@ -450,7 +449,8 @@ bool CSigSharesManager::ProcessMessageBatchedSigShares(const CNode& pfrom, const
450449
}
451450
}
452451

453-
LogPrint(BCLog::LLMQ_SIGS, "CSigSharesManager::%s -- signHash=%s, shares=%d, new=%d, inv={%s}, node=%d\n",
452+
LogPrint(BCLog::LLMQ_SIGS, /* Continued */
453+
"CSigSharesManager::%s -- signHash=%s, shares=%d, new=%d, inv={%s}, node=%d\n",
454454
__func__, sessionInfo->signHash.ToString(), batchedSigShares.sigShares.size(),
455455
sigSharesToProcess.size(), batchedSigShares.ToInvString(), pfrom.GetId());
456456

0 commit comments

Comments
 (0)