Cosmetic.

This commit is contained in:
Arthur Britto
2012-12-05 17:27:52 -08:00
parent 61596f0717
commit 7871df819a
2 changed files with 13 additions and 5 deletions

View File

@@ -34,10 +34,11 @@ void AccountItems::fillItems(const uint160& accountID, Ledger::ref ledger)
while (1)
{
SLE::pointer ownerDir=ledger->getDirNode(lspNode, currentIndex);
SLE::pointer ownerDir = ledger->getDirNode(lspNode, currentIndex);
if (!ownerDir) return;
STVector256 svOwnerNodes = ownerDir->getFieldV256(sfIndexes);
STVector256 svOwnerNodes = ownerDir->getFieldV256(sfIndexes);
BOOST_FOREACH(uint256& uNode, svOwnerNodes.peekValue())
{
SLE::pointer sleCur = ledger->getSLE(uNode);
@@ -54,4 +55,6 @@ void AccountItems::fillItems(const uint160& accountID, Ledger::ref ledger)
currentIndex = Ledger::getDirNodeIndex(rootIndex, uNodeNext);
}
}
}
// vim:ts=4

View File

@@ -1,3 +1,5 @@
#ifndef __PAYMENTTRANSACTOR__
#define __PAYMENTTRANSACTOR__
#include "Transactor.h"
@@ -6,6 +8,9 @@ class PaymentTransactor : public Transactor
void calculateFee();
public:
PaymentTransactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine) : Transactor(txn,params,engine) {}
TER doApply();
};
};
#endif
// vim:ts=4