From 8588e0c78f9fd6bdffbdefd65d22381b98442bd5 Mon Sep 17 00:00:00 2001 From: wltsmrz Date: Mon, 9 Sep 2013 11:59:40 -0700 Subject: [PATCH] Fix account_lines --- src/js/ripple/remote.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/ripple/remote.js b/src/js/ripple/remote.js index 9e3d821e..eaa3b765 100644 --- a/src/js/ripple/remote.js +++ b/src/js/ripple/remote.js @@ -796,7 +796,7 @@ Remote.account_request = function(type, accountID, account_index, ledger, callba Remote.prototype.request_account_lines = function (accountID, account_index, ledger, callback) { // XXX Does this require the server to be trusted? //utils.assert(this.trusted); - var args = Array.prototype.arguments.slice(arguments); + var args = Array.prototype.slice.call(arguments); args.unshift('account_lines'); return Remote.account_request.apply(this, args); }; @@ -804,7 +804,7 @@ Remote.prototype.request_account_lines = function (accountID, account_index, led // --> account_index: sub_account index (optional) // --> current: true, for the current ledger. Remote.prototype.request_account_offers = function (accountID, account_index, ledger, callback) { - var args = Array.prototype.arguments.slice(arguments); + var args = Array.prototype.slice.call(arguments); args.unshift('account_offers'); return Remote.account_request.apply(this, args); };