This commit is contained in:
jed
2012-11-15 13:17:36 -08:00
committed by Stefan Thomas
parent 16aa141247
commit d2cc68b3cd
2 changed files with 3 additions and 3 deletions

View File

@@ -1383,7 +1383,7 @@ Transaction.prototype.password_fund = function (src, dst) {
Transaction.prototype.password_set = function (src, authorized_key, generator, public_key, signature) {
this.secret = this._account_secret(src);
this.tx_json.TransactionType = 'PasswordSet';
this.tx_json.AuthorizedKey = authorized_key;
this.tx_json.RegularKey = authorized_key;
this.tx_json.Generator = generator;
this.tx_json.PublicKey = public_key;
this.tx_json.Signature = signature;
@@ -1440,7 +1440,7 @@ Transaction.prototype.wallet_add = function (src, amount, authorized_key, public
this.secret = this._account_secret(src);
this.tx_json.TransactionType = 'WalletAdd';
this.tx_json.Amount = Amount.json_rewrite(amount);
this.tx_json.AuthorizedKey = authorized_key;
this.tx_json.RegularKey = authorized_key;
this.tx_json.PublicKey = public_key;
this.tx_json.Signature = signature;

View File

@@ -22,7 +22,7 @@ var account_dump = function (remote, account, callback) {
.ledger_hash(remote.ledger_hash())
.account_root("root")
.on('success', function (r) {
console.log("account_root: %s", JSON.stringify(r, undefined, 2));
//console.log("account_root: %s", JSON.stringify(r, undefined, 2));
callback();
})