mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding
This commit is contained in:
@@ -714,9 +714,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