From deebb7307b15187f4bfdf1060a2324fbe562d2f6 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 14 Jul 2012 01:54:41 -0700 Subject: [PATCH] Make this more logical. --- src/LedgerTiming.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LedgerTiming.cpp b/src/LedgerTiming.cpp index 122f07f5c6..97b70659c7 100644 --- a/src/LedgerTiming.cpp +++ b/src/LedgerTiming.cpp @@ -22,7 +22,7 @@ int ContinuousLedgerTiming::shouldClose( assert((previousSeconds > 0) && (previousSeconds < 600)); assert((currentSeconds >= 0) && (currentSeconds < 600)); Log(lsTRACE) << boost::str(boost::format("CLC::shouldClose Trans=%s, Prop: %d/%d, Secs: %d/%d") % - (anyTransactions ? "yes" : "no") % previousProposers % proposersClosed % previousSeconds % currentSeconds); + (anyTransactions ? "yes" : "no") % previousProposers % proposersClosed % currentSeconds % previousSeconds); if (!anyTransactions) { // no transactions so far this interval @@ -61,7 +61,7 @@ bool ContinuousLedgerTiming::haveConsensus( int currentAgreeTime) // how long we've been trying to agree { Log(lsTRACE) << boost::str(boost::format("CLC::haveConsensus: prop=%d/%d agree=%d closed=%d time=%d/%d") % - previousProposers % currentProposers % currentAgree % currentClosed % previousAgreeTime % currentAgreeTime); + currentProposers % previousProposers % currentAgree % currentClosed % currentAgreeTime % previousAgreeTime); if (currentAgreeTime <= LEDGER_MIN_CONSENSUS) {