ech pack stuff.

This commit is contained in:
JoelKatz
2013-04-22 11:09:07 -07:00
parent 94838b0db7
commit aeccecb578
7 changed files with 62 additions and 11 deletions

View File

@@ -118,6 +118,7 @@ bool LedgerAcquire::tryLocal()
std::vector<unsigned char> data;
if (!theApp->getOPs().getFetchPack(mHash, data))
return false;
cLog(lsINFO) << "Ledger base found in fetch pack";
mLedger = boost::make_shared<Ledger>(data, true);
theApp->getHashedObjectStore().store(hotLEDGER, mLedger->getLedgerSeq(), data, mHash);
}