JS: Add temporary support for RPC tx.

This commit is contained in:
Arthur Britto
2013-03-03 20:04:32 -08:00
parent b1a691b490
commit edce4a83ce

View File

@@ -876,6 +876,15 @@ Remote.prototype.request_transaction_entry = function (hash) {
.tx_hash(hash);
};
// DEPRECATED: use request_transaction_entry
Remote.prototype.request_tx = function (hash) {
var request = new Request(this, 'tx');
request.message.transaction = hash;
return request;
};
Remote.prototype.request_account_info = function (accountID) {
var request = new Request(this, 'account_info');