aboutsummaryrefslogtreecommitdiff
path: root/src/test/data
diff options
context:
space:
mode:
authorOtto Allmendinger <otto.allmendinger@gmail.com>2014-07-18 12:55:46 +0200
committerOtto Allmendinger <otto.allmendinger@gmail.com>2014-07-18 12:55:46 +0200
commit4cac5dbf83a3069e9d25051f4c832c537a527495 (patch)
tree1bfabbad6ed9750e087c9a674bfc4fddde071661 /src/test/data
parent833ff161bc5e44ce59b16e0ce316818f8ae69d8a (diff)
script tests: value with trailing 0x00 is true
Diffstat (limited to 'src/test/data')
-rw-r--r--src/test/data/script_valid.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/data/script_valid.json b/src/test/data/script_valid.json
index 27778fb1d4..af0326ad92 100644
--- a/src/test/data/script_valid.json
+++ b/src/test/data/script_valid.json
@@ -10,6 +10,7 @@
[" 1 2 ", "2 EQUALVERIFY 1 EQUAL"],
["1", ""],
+["0x02 0x01 0x00", "", "all bytes are significant, not only the last one"],
["0x09 0x00000000 0x00000000 0x10", "", "equals zero when cast to Int64"],
["0x01 0x0b", "11 EQUAL", "push 1 byte"],