Skip to content

Commit

Permalink
fix: do not remove scripts from outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
troggy committed Apr 11, 2016
1 parent 1168824 commit 0d9dc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/txproposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ TxProposal.create = function(opts) {
x.payProUrl = opts.payProUrl;
x.changeAddress = opts.changeAddress;
x.outputs = _.map(opts.outputs, function(output) {
return _.pick(output, ['amount', 'toAddress', 'message']);
return _.pick(output, ['amount', 'toAddress', 'message', 'script']);
});
x.outputOrder = _.shuffle(_.range(x.outputs.length + 1));
x.walletM = opts.walletM;
Expand Down

1 comment on commit 0d9dc85

@MrKvn81
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.