This commit is contained in:
Christopher Jeffrey 2016-02-24 04:09:05 -08:00
parent 27f6e6e678
commit ed90c9a4a2

View File

@ -625,12 +625,7 @@ TX.prototype.addOutput = function addOutput(obj, value) {
options = obj; options = obj;
} }
output = bcoin.output({ output = bcoin.output(options);
value: options.value,
script: options.script,
_size: options._size,
_offset: options._offset
});
this.outputs.push(output); this.outputs.push(output);