Browse Source

tests: remove tests for missing witnessScriptHash.input.encode

hk-custom-address
Daniel Cousens 8 years ago
committed by Daniel Cousens
parent
commit
a5e65ab977
  1. 15
      test/script.js

15
test/script.js

@ -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…
Cancel
Save