Change RPCs to use account instead of ident.

This commit is contained in:
Arthur Britto
2013-03-07 03:39:17 -08:00
parent ef10a41f63
commit 9121cfd567
2 changed files with 7 additions and 6 deletions

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;
};