From 16451d8d55cadb7b3db0e0951cd7941fee198c92 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 15 Jul 2012 23:44:08 -0700 Subject: [PATCH] Remove debug. --- src/LedgerTiming.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LedgerTiming.cpp b/src/LedgerTiming.cpp index e858d271d4..bc03d3c451 100644 --- a/src/LedgerTiming.cpp +++ b/src/LedgerTiming.cpp @@ -21,8 +21,11 @@ int ContinuousLedgerTiming::shouldClose( { assert((previousSeconds > 0) && (previousSeconds < 600)); assert((currentSeconds >= 0) && (currentSeconds < 600)); + +#if 0 Log(lsTRACE) << boost::str(boost::format("CLC::shouldClose Trans=%s, Prop: %d/%d, Secs: %d/%d") % (anyTransactions ? "yes" : "no") % previousProposers % proposersClosed % currentSeconds % previousSeconds); +#endif if (!anyTransactions) { // no transactions so far this interval @@ -63,10 +66,7 @@ bool ContinuousLedgerTiming::haveConsensus( currentProposers % previousProposers % currentAgree % currentClosed % currentAgreeTime % previousAgreeTime); if (currentAgreeTime <= LEDGER_MIN_CONSENSUS) - { - Log(lsTRACE) << "too fast"; return false; - } if (currentProposers < (previousProposers * 3 / 4)) { // Less than 3/4 of the last ledger's proposers are present, we may need more time