From 11cb109c1613971ab28ebcd74574b0c8b76fbde5 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 3 Jan 2013 23:23:10 -0800 Subject: [PATCH] Another safety. --- src/cpp/ripple/LedgerConsensus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/LedgerConsensus.cpp b/src/cpp/ripple/LedgerConsensus.cpp index 6d6535979..09de20131 100644 --- a/src/cpp/ripple/LedgerConsensus.cpp +++ b/src/cpp/ripple/LedgerConsensus.cpp @@ -304,7 +304,7 @@ LedgerConsensus::LedgerConsensus(const uint256& prevLCLHash, Ledger::ref previou void LedgerConsensus::checkOurValidation() { // This only covers some cases - Fix for the case where we can't ever acquire the consensus ledger - if (!mHaveCorrectLCL || !mValPublic.isValid() || !mValPrivate.isValid()) + if (!mHaveCorrectLCL || !mValPublic.isValid() || !mValPrivate.isValid() || theApp->getOPs().isNeedNetworkLedger()) return; SerializedValidation::pointer lastVal = theApp->getOPs().getLastValidation();