aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/script_valid.json
diff options
context:
space:
mode:
authorAndreas Schildbach <andreas@schildbach.de>2014-03-11 00:16:22 +0100
committerAndreas Schildbach <andreas@schildbach.de>2014-03-11 00:59:33 +0100
commitffd082a6a36bf0b85078be8400b8eda3630b34b3 (patch)
tree63cfa55912fbc72ab6e214d6caf7f858841c2ea1 /src/test/data/script_valid.json
parenta63f8b7b36e39722024a0ba061ca214f00a8f1bd (diff)
Add script test to prove that OP_0 evaluates as the empty vector, rather than [0].
Diffstat (limited to 'src/test/data/script_valid.json')
-rw-r--r--src/test/data/script_valid.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/data/script_valid.json b/src/test/data/script_valid.json
index e4c181cae8..3b4c191865 100644
--- a/src/test/data/script_valid.json
+++ b/src/test/data/script_valid.json
@@ -411,5 +411,7 @@
["0x4c 0x40 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
"0x4d 0x4000 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242 EQUAL",
-"Basic PUSHDATA1 signedness check"]
+"Basic PUSHDATA1 signedness check"],
+
+["0x00", "SIZE 0 EQUAL", "Basic OP_0 execution"]
]