diff --git a/src/js/remote.js b/src/js/remote.js index 4dca5674..085a2798 100644 --- a/src/js/remote.js +++ b/src/js/remote.js @@ -1151,8 +1151,8 @@ Remote.prototype.request_ripple_balance = function (account, issuer, currency, c 'account_balance' : ( accountHigh ? balance.negate() : balance).parse_issuer(account), 'peer_balance' : (!accountHigh ? balance.negate() : balance).parse_issuer(issuer), - 'account_limit' : ( accountHigh ? highLimit : lowLimit).parse_issuer(account), // As set by account - 'peer_limit' : (!accountHigh ? highLimit : lowLimit).parse_issuer(issuer), + 'account_limit' : ( accountHigh ? highLimit : lowLimit).parse_issuer(issuer), + 'peer_limit' : (!accountHigh ? highLimit : lowLimit).parse_issuer(account), 'account_quality_in' : ( accountHigh ? node.HighQualityIn : node.LowQualityIn), 'peer_quality_in' : (!accountHigh ? node.HighQualityIn : node.LowQualityIn),