From 61efda89a563152a4c6857d714e558ef9f09ca9b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 15 Apr 2013 09:57:10 -0700 Subject: [PATCH] This keeps the two timing schemes compatible. --- src/cpp/ripple/LedgerTiming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/LedgerTiming.cpp b/src/cpp/ripple/LedgerTiming.cpp index a23f5e936c..4c6cc98d3f 100644 --- a/src/cpp/ripple/LedgerTiming.cpp +++ b/src/cpp/ripple/LedgerTiming.cpp @@ -53,7 +53,7 @@ bool ContinuousLedgerTiming::shouldClose( return currentMSeconds >= (idleInterval * 1000); // normal idle } - if (openMSeconds < LEDGER_MIN_CLOSE) + if ((openMSeconds < LEDGER_MIN_CLOSE) && ((proposersClosed + proposersValidated) < (previousProposers / 2 ))) { cLog(lsDEBUG) << "Must wait minimum time before closing"; return false;