From 407782122c8dcce7533c6adc67d59f0a237f899f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 8 Apr 2016 15:32:28 -0700 Subject: [PATCH] fix getInputType. --- lib/bcoin/script.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/bcoin/script.js b/lib/bcoin/script.js index 070c4e3e..90ab5621 100644 --- a/lib/bcoin/script.js +++ b/lib/bcoin/script.js @@ -1733,9 +1733,6 @@ Script.prototype.getInputType = function getInputType() { Script.getInputType = function getInputType(code, isWitness) { var type; - if (prev) - return prev.getType(); - type = (Script.isPubkeyInput(code) && 'pubkey') || (Script.isPubkeyhashInput(code) && 'pubkeyhash') || (Script.isMultisigInput(code, isWitness) && 'multisig')