Default owner count to 0 if not available.

This commit is contained in:
Arthur Britto
2012-12-18 14:40:11 -08:00
parent 05b77f7468
commit 8b19a356f5
4 changed files with 19 additions and 51 deletions

View File

@@ -103,7 +103,7 @@ public:
bool dirNext(const uint256& uRootIndex, SLE::pointer& sleNode, unsigned int& uDirEntry, uint256& uEntryIndex);
TER dirCount(const uint256& uDirIndex, uint32& uCount);
TER ownerCountAdjust(const uint160& uOwnerID, int iAmount, SLE::ref sleAccountRoot=SLE::pointer());
void ownerCountAdjust(const uint160& uOwnerID, int iAmount, SLE::ref sleAccountRoot=SLE::pointer());
// Offer functions.
TER offerDelete(const uint256& uOfferIndex);