Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding

This commit is contained in:
JoelKatz
2013-03-22 14:48:15 -07:00
46 changed files with 909 additions and 442 deletions

View File

@@ -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());
}