JS: Fix offer_create.

This commit is contained in:
Arthur Britto
2012-10-14 02:50:34 -07:00
parent d5c9cc78c7
commit d98e415107
2 changed files with 22 additions and 13 deletions

View File

@@ -676,8 +676,6 @@ Transaction.prototype.offer_create = function (src, taker_pays, taker_gets, expi
this.secret = this.account_secret(src);
this.transaction.TransactionType = 'OfferCreate';
this.transaction.Account = this.account_default(src);
this.transaction.Amount = deliver_amount.to_json();
this.transaction.Destination = dst_account;
this.transaction.Fee = fees.offer.to_json();
this.transaction.TakerPays = taker_pays.to_json();
this.transaction.TakerGets = taker_gets.to_json();