From ed90c9a4a27eda51dd52ef236bd13daf2863dc52 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 24 Feb 2016 04:09:05 -0800 Subject: [PATCH] output --- lib/bcoin/tx.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/bcoin/tx.js b/lib/bcoin/tx.js index a18d97b1..4e88b00c 100644 --- a/lib/bcoin/tx.js +++ b/lib/bcoin/tx.js @@ -625,12 +625,7 @@ TX.prototype.addOutput = function addOutput(obj, value) { options = obj; } - output = bcoin.output({ - value: options.value, - script: options.script, - _size: options._size, - _offset: options._offset - }); + output = bcoin.output(options); this.outputs.push(output);