From cbc758db6427f6af8ea83db91b77ef63e4f84e5d Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 7 Sep 2012 15:25:47 -0700 Subject: [PATCH] Fix crash --- src/LedgerConsensus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LedgerConsensus.cpp b/src/LedgerConsensus.cpp index 4fc94ad785..bdba1c7da4 100644 --- a/src/LedgerConsensus.cpp +++ b/src/LedgerConsensus.cpp @@ -319,7 +319,7 @@ void LedgerConsensus::handleLCL(const uint256& lclHash) BOOST_FOREACH(Peer::ref peer, peerList) mAcquiringLedger->peerHas(peer); } - if (mHaveCorrectLCL && mProposing) + if (mHaveCorrectLCL && mProposing && mOurPosition) { Log(lsINFO) << "Bowing out of consensus"; mOurPosition->bowOut();