scriptHash return true for chunks.length=1 so long as its witness
This commit is contained in:
parent
1edfd30425
commit
793939dc8c
6 changed files with 2 additions and 66 deletions
test
|
@ -61,7 +61,6 @@ describe('script-templates', function () {
|
|||
|
||||
describe(name + '.input.check', function () {
|
||||
fixtures.valid.forEach(function (f) {
|
||||
// Temporary - while we don't have witnessKeyHash.input, etc.
|
||||
if (name.toLowerCase() === bscript.types.P2WPKH) return
|
||||
if (name.toLowerCase() === bscript.types.P2WSH) return
|
||||
var expected = name.toLowerCase() === f.type.toLowerCase()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue