scriptHash return true for chunks.length=1 so long as its witness

This commit is contained in:
Thomas Kerin 2017-01-21 01:05:05 +01:00 committed by Daniel Cousens
parent 1edfd30425
commit 793939dc8c
6 changed files with 2 additions and 66 deletions

View file

@ -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()