templates: add missing allowComplete pass through
This commit is contained in:
parent
91ff39d95a
commit
6c220c4b58
@ -53,7 +53,7 @@ function classifyWitness (script, allowIncomplete) {
|
|||||||
var chunks = decompile(script)
|
var chunks = decompile(script)
|
||||||
|
|
||||||
if (witnessPubKeyHash.input.check(chunks)) return types.P2WPKH
|
if (witnessPubKeyHash.input.check(chunks)) return types.P2WPKH
|
||||||
if (witnessScriptHash.input.check(chunks)) return types.P2WSH
|
if (witnessScriptHash.input.check(chunks, allowIncomplete)) return types.P2WSH
|
||||||
|
|
||||||
return types.NONSTANDARD
|
return types.NONSTANDARD
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user