fix getInputType.
This commit is contained in:
parent
21cae4224c
commit
407782122c
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user