diff options
| author | Andreas Schildbach <[email protected]> | 2014-03-11 00:16:22 +0100 |
|---|---|---|
| committer | Andreas Schildbach <[email protected]> | 2014-03-11 00:59:33 +0100 |
| commit | ffd082a6a36bf0b85078be8400b8eda3630b34b3 (patch) | |
| tree | 63cfa55912fbc72ab6e214d6caf7f858841c2ea1 /src/test/data/script_valid.json | |
| parent | Merge pull request #3717 from djpnewton/wallet-txcount (diff) | |
| download | discoin-ffd082a6a36bf0b85078be8400b8eda3630b34b3.tar.xz discoin-ffd082a6a36bf0b85078be8400b8eda3630b34b3.zip | |
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.json | 4 |
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"] ] |