Skip to content

Commit 4cac5db

Browse files
script tests: value with trailing 0x00 is true
1 parent 833ff16 commit 4cac5db

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
@@ -10,6 +10,7 @@
1010
[" 1 2 ", "2 EQUALVERIFY 1 EQUAL"],
1111

1212
["1", ""],
13+
["0x02 0x01 0x00", "", "all bytes are significant, not only the last one"],
1314
["0x09 0x00000000 0x00000000 0x10", "", "equals zero when cast to Int64"],
1415

1516
["0x01 0x0b", "11 EQUAL", "push 1 byte"],

0 commit comments

Comments
 (0)