add tx to prev output data.

This commit is contained in:
Christopher Jeffrey 2015-12-22 22:44:56 -08:00
parent 47618898c7
commit 4ac398e41b

View File

@ -156,6 +156,7 @@ Input.getData = function getData(input) {
data.multisig.sigs = sub.slice(1, -1);
data.sig = data.multisig.sigs[0];
}
// data.tx = input.out.tx;
data.hash = input.out.hash;
data.index = input.out.index;
data._script = s;
@ -268,7 +269,7 @@ Input.getData = function getData(input) {
};
};
Input.prototype.inspect = function() {
Input.prototype.inspect = function inspect() {
var data = this.data;
var output = this.output
? this.output.inspect()