Set closed flag.

This commit is contained in:
JoelKatz
2012-06-02 11:08:18 -07:00
parent 6cdf039c70
commit 6ede1a7bef

View File

@@ -669,6 +669,7 @@ void LedgerConsensus::accept(SHAMap::pointer set)
std::deque<SerializedTransaction::pointer> failedTransactions;
applyTransactions(set, newLCL, failedTransactions);
newLCL->setClosed();
newLCL->setAccepted();
newLCL->updateHash();
uint256 newLCLHash = newLCL->getHash();