From 8c5c0a13a6f1b344560e8d838823874b074e5e5f Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Sat, 14 Jun 2014 10:22:00 +1000 Subject: [PATCH] Transaction: remove untested (and broken) functionality --- src/transaction.js | 4 ---- 1 file changed, 4 deletions(-) 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;