tests: remove tests for missing witnessScriptHash.input.encode

This commit is contained in:
Daniel Cousens 2016-11-02 13:46:41 +11:00 committed by Daniel Cousens
parent d9fa39a2cc
commit a5e65ab977

View file

@ -422,21 +422,6 @@ describe('script', function () {
}) })
}) })
describe('witnessScriptHash.inputs.encode', function () {
fixtures.valid.forEach(function (f) {
if (f.type !== 'witnessscripthash') return
var witnessScript = bscript.fromASM(f.witnessScriptPubKey)
var witnessScriptSig = bscript.fromASM(f.witnessScriptSig)
it('returns ' + f.witness, function () {
var witness = bscript.witnessScriptHash.input.encode(witnessScriptSig, witnessScript)
assert.strictEqual(bscript.toASM(witness), f.witness)
})
})
})
describe('witnessScriptHash.outputs.encode', function () { describe('witnessScriptHash.outputs.encode', function () {
fixtures.valid.forEach(function (f) { fixtures.valid.forEach(function (f) {
if (f.type !== 'witnessscripthash') return if (f.type !== 'witnessscripthash') return