diff --git a/src/cpp/ripple/AccountItems.cpp b/src/cpp/ripple/AccountItems.cpp index c5a4c0e22..ba8b45c70 100644 --- a/src/cpp/ripple/AccountItems.cpp +++ b/src/cpp/ripple/AccountItems.cpp @@ -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); } -} \ No newline at end of file +} + +// vim:ts=4 diff --git a/src/cpp/ripple/PaymentTransactor.h b/src/cpp/ripple/PaymentTransactor.h index 2c93ea713..862a3d3fd 100644 --- a/src/cpp/ripple/PaymentTransactor.h +++ b/src/cpp/ripple/PaymentTransactor.h @@ -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(); -}; \ No newline at end of file +}; +#endif + +// vim:ts=4