Skip to content

Commit 9793090

Browse files
committed
txbuilder: allowIncomplete witnesses
1 parent 112a4e6 commit 9793090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function expandInput (scriptSig, witnessStack) {
8282
script = redeemScript
8383
}
8484

85-
var classifyWitness = bscript.classifyWitness(witnessStack)
85+
var classifyWitness = bscript.classifyWitness(witnessStack, true)
8686
if (classifyWitness === scriptTypes.P2WSH) {
8787
witnessScript = witnessStack[witnessStack.length - 1]
8888
witnessScriptType = bscript.classifyOutput(witnessScript)

0 commit comments

Comments
 (0)