Skip to content

Commit

Permalink
Add string to log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ximinez committed Aug 9, 2024
1 parent c19a88f commit f7fc491
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/test/csf/Peer.h
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@ struct Peer

if (netLgr != ledgerID)
{
JLOG(j.trace()) << Json::Compact(validations.getJsonTrie());
JLOG(j.trace()) << "ValidationTrie "
<< Json::Compact(validations.getJsonTrie());
issue(WrongPrevLedger{ledgerID, netLgr});
}

Expand Down
3 changes: 2 additions & 1 deletion src/xrpld/app/consensus/RCLConsensus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ RCLConsensus::Adaptor::getPrevLedger(
if (mode != ConsensusMode::wrongLedger)
app_.getOPs().consensusViewChange();

JLOG(j_.debug()) << Json::Compact(app_.getValidations().getJsonTrie());
JLOG(j_.debug()) << "ValidationTrie "
<< Json::Compact(app_.getValidations().getJsonTrie());
}

return netLgr;
Expand Down

0 comments on commit f7fc491

Please sign in to comment.