mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Whitespace changes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user