aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/script_valid.json
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2014-03-12 15:12:08 -0400
committerGavin Andresen <[email protected]>2014-03-12 15:12:08 -0400
commitca0b8acbf38a02f39e313a1c633d577f9bf7d983 (patch)
treea29b47dec1bb2a33a3801138436c5603cadd83c3 /src/test/data/script_valid.json
parentMerge pull request #3808 from paveljanik/master (diff)
parentAdd script test to prove that OP_0 evaluates as the empty vector, rather than... (diff)
downloaddiscoin-ca0b8acbf38a02f39e313a1c633d577f9bf7d983.tar.xz
discoin-ca0b8acbf38a02f39e313a1c633d577f9bf7d983.zip
Merge pull request #3841 from schildbach/script-tests-OP_0
Add script test to prove that OP_0 evaluates as the empty vector.
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 e4c181cae..3b4c19186 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"]
]