Make the transaction application parameters accessible from the LES.

This commit is contained in:
JoelKatz
2013-03-13 21:59:43 -07:00
parent 8fdd637828
commit 7bd96e9f2f
7 changed files with 33 additions and 29 deletions

View File

@@ -117,7 +117,7 @@ bool Pathfinder::bDefaultPath(const STPath& spPath)
if (pspCurrent)
{
bool bDefault;
LedgerEntrySet lesActive(mLedger);
LedgerEntrySet lesActive(mLedger, tapNONE);
// Expand the current path.
pspCurrent->setExpanded(lesActive, spPath, mDstAccountID, mSrcAccountID);
@@ -160,7 +160,7 @@ Pathfinder::Pathfinder(Ledger::ref ledger,
// Build the default path.
// Later, reject anything that expands to the default path as the default is sufficient.
LedgerEntrySet lesActive(mLedger);
LedgerEntrySet lesActive(mLedger, tapNONE);
psDefault->setExpanded(lesActive, STPath(), mDstAccountID, mSrcAccountID);
@@ -212,7 +212,7 @@ bool Pathfinder::findPaths(const unsigned int iMaxSteps, const unsigned int iMax
return false;
}
LedgerEntrySet lesActive(mLedger);
LedgerEntrySet lesActive(mLedger, tapNONE);
boost::unordered_map<uint160, AccountItems::pointer> aiMap;
SLE::pointer sleSrc = lesActive.entryCache(ltACCOUNT_ROOT, Ledger::getAccountRootIndex(mSrcAccountID));