Fix crash

This commit is contained in:
JoelKatz
2012-09-07 15:25:47 -07:00
parent 390e628f10
commit cbc758db64

View File

@@ -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();