From dfae89101874b5272a4122e070a456d1c8aa5e02 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 18 Aug 2013 20:10:32 -0700 Subject: [PATCH] Fix a bug that could cause us not to acquire the current ledger. --- modules/ripple_app/consensus/ripple_LedgerConsensus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ripple_app/consensus/ripple_LedgerConsensus.cpp b/modules/ripple_app/consensus/ripple_LedgerConsensus.cpp index 0cc301283..d774c2678 100644 --- a/modules/ripple_app/consensus/ripple_LedgerConsensus.cpp +++ b/modules/ripple_app/consensus/ripple_LedgerConsensus.cpp @@ -213,6 +213,8 @@ void LedgerConsensus::handleLCL (uint256 const& lclHash) mHaveCorrectLCL = false; return; } + else + return; WriteLog (lsINFO, LedgerConsensus) << "Have the consensus ledger " << mPrevLedgerHash; mHaveCorrectLCL = true;