mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cosmetic.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user