From a3dcc36e050b3ed087c02aa49c87e874e4302e37 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 3 Mar 2013 14:07:46 -0800 Subject: [PATCH] Typo and some extra debug. --- src/cpp/ripple/LedgerConsensus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/LedgerConsensus.cpp b/src/cpp/ripple/LedgerConsensus.cpp index b9816ede8..623cd542f 100644 --- a/src/cpp/ripple/LedgerConsensus.cpp +++ b/src/cpp/ripple/LedgerConsensus.cpp @@ -392,7 +392,7 @@ void LedgerConsensus::checkLCL() { case lcsPRE_CLOSE: status = "PreClose"; break; case lcsESTABLISH: status = "Establish"; break; - case lcsFINISHED: status = "Finised"; break; + case lcsFINISHED: status = "Finished"; break; case lcsACCEPTED: status = "Accepted"; break; default: status = "unknown"; } @@ -400,6 +400,7 @@ void LedgerConsensus::checkLCL() cLog(lsWARNING) << "View of consensus changed during " << status << " (" << netLgrCount << ") status=" << status << ", " << (mHaveCorrectLCL ? "CorrectLCL" : "IncorrectLCL"); cLog(lsWARNING) << mPrevLedgerHash << " to " << netLgr; + cLog(lsWARNING) << mPreviousLedger->getJson(0); if (sLog(lsDEBUG)) {