Browse Source

fix: do not remove scripts from outputs

activeAddress
Kosta Korenkov 9 years ago
parent
commit
0d9dc85030
  1. 2
      lib/model/txproposal.js

2
lib/model/txproposal.js

@ -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;

Loading…
Cancel
Save