tests: remove tests for missing witnessScriptHash.input.encode
This commit is contained in:
parent
d9fa39a2cc
commit
a5e65ab977
1 changed files with 0 additions and 15 deletions
|
@ -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 () {
|
||||
fixtures.valid.forEach(function (f) {
|
||||
if (f.type !== 'witnessscripthash') return
|
||||
|
|
Loading…
Add table
Reference in a new issue