Browse Source

templates: add missing allowComplete pass through

hk-custom-address
Daniel Cousens 8 years ago
committed by Daniel Cousens
parent
commit
6c220c4b58
  1. 2
      src/templates/index.js

2
src/templates/index.js

@ -53,7 +53,7 @@ function classifyWitness (script, allowIncomplete) {
var chunks = decompile(script)
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
}

Loading…
Cancel
Save