JS: Rename CreditSet to TrustSet.

This commit is contained in:
Arthur Britto
2012-11-13 13:42:47 -08:00
committed by Stefan Thomas
parent f484bc36a8
commit 173d1ed78f

View File

@@ -1421,7 +1421,7 @@ Transaction.prototype.payment = function (src, dst, deliver_amount) {
Transaction.prototype.ripple_line_set = function (src, limit, quality_in, quality_out) { Transaction.prototype.ripple_line_set = function (src, limit, quality_in, quality_out) {
this.secret = this._account_secret(src); this.secret = this._account_secret(src);
this.tx_json.TransactionType = 'CreditSet'; this.tx_json.TransactionType = 'TrustSet';
this.tx_json.Account = UInt160.json_rewrite(src); this.tx_json.Account = UInt160.json_rewrite(src);
// Allow limit of 0 through. // Allow limit of 0 through.