First part of the fix to stop us from publishing ledgers that don't get validated.

This commit is contained in:
JoelKatz
2013-01-01 16:11:30 -08:00
parent 737d81e7b0
commit 1e24721a98
4 changed files with 43 additions and 5 deletions

View File

@@ -467,6 +467,7 @@ void Ledger::saveAcceptedLedger(bool fromConsensus, LoadEvent::pointer event)
theApp->getLedgerMaster().setFullLedger(shared_from_this());
event->stop();
// FIXME: Need to put on hold until the ledger acquires sufficient validations
theApp->getOPs().pubLedger(shared_from_this());
decPendingSaves();