InboundLedgers improvements:

* Change findCreate to acquire
* Return Ledger rather than InboundLedger
This commit is contained in:
JoelKatz
2015-05-06 14:11:00 -07:00
committed by Nik Bougalis
parent 16aa015682
commit c377d6c94b
9 changed files with 57 additions and 141 deletions

View File

@@ -1274,7 +1274,7 @@ void Ledger::visitStateItems (std::function<void (SLE::ref)> function) const
{
if (mHash.isNonZero ())
{
getApp().getInboundLedgers().findCreate(
getApp().getInboundLedgers().acquire(
mHash, mLedgerSeq, InboundLedger::fcGENERIC);
}
throw;