Change RPCs to use account instead of ident.

This commit is contained in:
Arthur Britto
2013-03-07 03:39:17 -08:00
committed by Stefan Thomas
parent e5444c482e
commit b1c7bba2e7

View File

@@ -890,7 +890,8 @@ Remote.prototype.request_tx = function (hash) {
Remote.prototype.request_account_info = function (accountID) {
var request = new Request(this, 'account_info');
request.message.ident = UInt160.json_rewrite(accountID);
request.message.ident = UInt160.json_rewrite(accountID); // DEPRECATED
request.message.account = UInt160.json_rewrite(accountID);
return request;
};