Don't send a bow out if we're not proposing

This commit is contained in:
JoelKatz
2017-01-23 02:30:25 -08:00
committed by Scott Schurr
parent 6fac038320
commit aebcc2115d

View File

@@ -1161,7 +1161,8 @@ void LedgerConsensusImp<Traits>::leaveConsensus ()
if (ourPosition_ && ! ourPosition_->isBowOut ())
{
ourPosition_->bowOut(app_.timeKeeper().closeTime());
propose();
if (proposing_)
propose();
}
proposing_ = false;
}