fromTransaction.build tests pass - look for segwit transaction vectors
This commit is contained in:
parent
f8a94f3496
commit
52745d1d0c
1 changed files with 0 additions and 6 deletions
|
@ -38,8 +38,6 @@ function extractChunks (type, chunks, script) {
|
||||||
return chunk.length === 0 ? undefined : chunk
|
return chunk.length === 0 ? undefined : chunk
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
default:
|
|
||||||
throw new Error('Only bare scripts can be handled here: not ', type)
|
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
pubKeys: pubKeys,
|
pubKeys: pubKeys,
|
||||||
|
@ -142,10 +140,6 @@ function expandInput (scriptSig, witnessStack) {
|
||||||
chunks = scriptSigChunks
|
chunks = scriptSigChunks
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SIGNABLE.indexOf(scriptType) === -1) {
|
|
||||||
throw new Error(scriptType + ' not supported')
|
|
||||||
}
|
|
||||||
|
|
||||||
var expanded = extractChunks(scriptType, chunks, script)
|
var expanded = extractChunks(scriptType, chunks, script)
|
||||||
|
|
||||||
var result = {
|
var result = {
|
||||||
|
|
Loading…
Reference in a new issue