Whitespace changes

This commit is contained in:
JoelKatz
2014-01-23 21:47:50 -08:00
parent b1ffd10079
commit 1b37b52071
2 changed files with 9 additions and 10 deletions

View File

@@ -179,16 +179,15 @@ bool OrderBookIterator::nextOffer ()
return true;
}
// Is there a next directory
// Is there a next directory
if (!mDirectoryIterator.nextDirectory (mEntrySet))
{
WriteLog (lsTRACE, Ledger) << "OrderBookIterator: there is no next directory";
return false;
}
WriteLog (lsTRACE, Ledger) << "OrderBookIterator: going to next directory";
if (!mDirectoryIterator.nextDirectory (mEntrySet))
{
WriteLog (lsTRACE, Ledger) << "OrderBookIterator: there is no next directory";
return false;
}
WriteLog (lsTRACE, Ledger) << "OrderBookIterator: going to next directory";
// Set to before its first offer
// Set to before its first offer
mOfferIterator = mDirectoryIterator.getOfferIterator ();
}
while (1);

View File

@@ -151,7 +151,7 @@ TER OfferCreateTransactor::takeOffers (
STAmount saTakerFunds = lesActive.accountFunds (uTakerAccountID, saTakerPays);
STAmount saSubTakerPays = saTakerPays - saTakerPaid; // How much more to spend.
STAmount saSubTakerGets = saTakerGets - saTakerGot; // How much more is wanted.
uint64 uTipQuality = bookIterator.getCurrentQuality();
uint64 uTipQuality = bookIterator.getCurrentQuality();
if (!saTakerFunds.isPositive ())
{