Skip to content

Commit 89101c6

Browse files
script test: test case for 5-byte bools
1 parent 4cac5db commit 89101c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/data/script_valid.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
["0", "IF RETURN ENDIF 1", "RETURN only works if executed"],
6767

6868
["1 1", "VERIFY"],
69+
["1 0x05 0x01 0x00 0x00 0x00 0x00", "VERIFY", "values >4 bytes can be cast to boolean"],
6970

7071
["10 0 11 TOALTSTACK DROP FROMALTSTACK", "ADD 21 EQUAL"],
7172
["'gavin_was_here' TOALTSTACK 11 FROMALTSTACK", "'gavin_was_here' EQUALVERIFY 11 EQUAL"],

0 commit comments

Comments
 (0)