Skip to content

Commit

Permalink
Whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelKatz committed Jan 24, 2014
1 parent b1ffd10 commit 1b37b52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions src/ripple_app/ledger/OrderBookIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,15 @@ bool OrderBookIterator::nextOffer ()
return true;
}

// 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";
// 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";

// Set to before its first offer
// Set to before its first offer
mOfferIterator = mDirectoryIterator.getOfferIterator ();
}
while (1);
Expand Down
2 changes: 1 addition & 1 deletion src/ripple_app/tx/OfferCreateTransactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ())
{
Expand Down

0 comments on commit 1b37b52

Please sign in to comment.