mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 21:25:49 +00:00
Fix account_lines
This commit is contained in:
@@ -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) {
|
Remote.prototype.request_account_lines = function (accountID, account_index, ledger, callback) {
|
||||||
// XXX Does this require the server to be trusted?
|
// XXX Does this require the server to be trusted?
|
||||||
//utils.assert(this.trusted);
|
//utils.assert(this.trusted);
|
||||||
var args = Array.prototype.arguments.slice(arguments);
|
var args = Array.prototype.slice.call(arguments);
|
||||||
args.unshift('account_lines');
|
args.unshift('account_lines');
|
||||||
return Remote.account_request.apply(this, args);
|
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)
|
// --> account_index: sub_account index (optional)
|
||||||
// --> current: true, for the current ledger.
|
// --> current: true, for the current ledger.
|
||||||
Remote.prototype.request_account_offers = function (accountID, account_index, ledger, callback) {
|
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');
|
args.unshift('account_offers');
|
||||||
return Remote.account_request.apply(this, args);
|
return Remote.account_request.apply(this, args);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user