From cd9e6d1d5e6bf219a86dc4bd555e1c26733cdcae Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 27 Jul 2018 20:59:13 +1000 Subject: [PATCH] tests/p2wsh: add secondary stacksEqual test --- test/fixtures/p2wsh.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/fixtures/p2wsh.json b/test/fixtures/p2wsh.json index 9579f64..2f7b9cc 100644 --- a/test/fixtures/p2wsh.json +++ b/test/fixtures/p2wsh.json @@ -269,6 +269,20 @@ ] } }, + { + "exception": "Witness and redeem.witness mismatch", + "arguments": { + "redeem": { + "output": "OP_TRUE", + "witness": [ + "04000000ff" + ] + }, + "witness": [ + "04000000ee" + ] + } + }, { "exception": "Ambiguous witness source", "arguments": {