mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
I like parentheses.
This commit is contained in:
@@ -713,9 +713,9 @@ boost::unordered_set<uint160> usAccountSourceCurrencies(const RippleAddress& raA
|
||||
STAmount saBalance = rspEntry->getBalance();
|
||||
|
||||
// Filter out non
|
||||
if (saBalance.isPositive() // Have IOUs to send.
|
||||
|| (rspEntry->getLimitPeer() // Peer extends credit.
|
||||
&& -saBalance < rspEntry->getLimitPeer())) // Credit left.
|
||||
if (saBalance.isPositive() // Have IOUs to send.
|
||||
|| (rspEntry->getLimitPeer() // Peer extends credit.
|
||||
&& ((-saBalance) < rspEntry->getLimitPeer()))) // Credit left.
|
||||
{
|
||||
usCurrencies.insert(saBalance.getCurrency());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user