From a686817f3cd4ca82e831fef8ebb5b56e2b2e12f3 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 2 Oct 2015 12:36:51 +1000 Subject: [PATCH] tests: add m/n is data failing tests --- test/fixtures/script.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/fixtures/script.json b/test/fixtures/script.json index 81f905d..8abdcd1 100644 --- a/test/fixtures/script.json +++ b/test/fixtures/script.json @@ -245,6 +245,14 @@ "description": "n > len(pubKeys)", "scriptPubKey": "OP_1 024289801366bcee6172b771cf5a7f13aaecd237a0b9a1ff9d769cabc2e6b70a34 OP_2 OP_CHECKMULTISIG" }, + { + "description": "m is data", + "scriptPubKey": "ffff 024289801366bcee6172b771cf5a7f13aaecd237a0b9a1ff9d769cabc2e6b70a34 OP_1 OP_CHECKMULTISIG" + }, + { + "description": "n is data", + "scriptPubKey": "OP_1 024289801366bcee6172b771cf5a7f13aaecd237a0b9a1ff9d769cabc2e6b70a34 ffff OP_CHECKMULTISIG" + }, { "description": "non-canonical pubKey (bad length)", "scriptPubKey": "OP_1 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ffff OP_1 OP_CHECKMULTISIG"