From 5d3d5f0e470b7850197bc3ed4ea5311bd09a49f3 Mon Sep 17 00:00:00 2001 From: fivepiece Date: Fri, 6 Oct 2017 10:05:39 +0300 Subject: [PATCH] add basic p2wpkv0 script test --- src/test/data/script_tests.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/test/data/script_tests.json b/src/test/data/script_tests.json index 8b0091c3ed2b..64a149c2ee1d 100644 --- a/src/test/data/script_tests.json +++ b/src/test/data/script_tests.json @@ -2643,6 +2643,18 @@ [["feffffffffff7f","ffffffffffff3f","02","","","","009587616161616161616161616161616161616161616161616161616161616161", 0.00000000], "", "1 0x2096ef482e19d0cc1e555affdc76e7d927d15b455ce97aaa85cea13c389ca63a5f","P2SH,WITNESS,MSV0", "OK", "MUL EQUAL NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP"], [["feffffffffffff","ffffffffffffbf","02","","","","009587616161616161616161616161616161616161616161616161616161616161", 0.00000000], "", "1 0x2096ef482e19d0cc1e555affdc76e7d927d15b455ce97aaa85cea13c389ca63a5f","P2SH,WITNESS,MSV0", "OK", "MUL EQUAL NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP"], +[ + [ + "c793d1b0930f7e5a4c1c5e3728af1c9b6729c9d701247973957286df7c61abbb34f595272b6270497f98569c8fb684389cd3cefdd274a8976388ab8793fa02fa", + "", + 0.00000001 + ], + "", + "1 0x21 0x0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "P2SH,WITNESS,MSV0", + "OK", + "Basic P2WPKV0" +], ["The End"] ]