Browse Source

Merge pull request #1065 from bitpay/maraoz-patch-1

remove console.log
patch-2
Esteban Ordano 10 years ago
parent
commit
16a1d0d2d4
  1. 1
      lib/transaction/transaction.js

1
lib/transaction/transaction.js

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

Loading…
Cancel
Save