|
|
@ -254,7 +254,6 @@ Transaction.prototype.fromObject = function(transaction) { |
|
|
|
input.output.script = new Script(input.output.script); |
|
|
|
var txin; |
|
|
|
if (input.output.script.isPublicKeyHashOut()) { |
|
|
|
console.log(input.output.script); |
|
|
|
txin = new Input.PublicKeyHash(input); |
|
|
|
} else if (input.output.script.isScriptHashOut() && input.publicKeys && input.threshold) { |
|
|
|
txin = new Input.MultiSigScriptHash( |
|
|
|