diff --git a/src/transaction.js b/src/transaction.js index d9c83a7..eed58ed 100644 --- a/src/transaction.js +++ b/src/transaction.js @@ -21,10 +21,6 @@ function Transaction(doc) { this.outs = [] if (doc) { - if (typeof doc == "string" || Array.isArray(doc)) { - doc = Transaction.fromBuffer(doc) - } - if (doc.hash) this.hash = doc.hash; if (doc.version) this.version = doc.version; if (doc.locktime) this.locktime = doc.locktime;