Improve SHAMap missing node behavior:

* Prevent recursive invocation of missing node handler
* Do not throw from ledger constructor
This commit is contained in:
JoelKatz
2015-09-01 12:50:34 -07:00
committed by Nik Bougalis
parent 8f09d3449d
commit 74b0a7c633
7 changed files with 101 additions and 24 deletions

View File

@@ -1035,7 +1035,7 @@ void LedgerConsensusImp::accept (std::shared_ptr<SHAMap> set)
{
// Special case, we are replaying a ledger close
for (auto& tx : replay->txns_)
applyTransaction (accum, tx.second, false, tapNO_CHECK_SIGN);
applyTransaction (app_, accum, tx.second, false, tapNO_CHECK_SIGN);
}
else
{