diff options
| author | Otto Allmendinger <[email protected]> | 2014-07-18 15:41:45 +0200 |
|---|---|---|
| committer | Otto Allmendinger <[email protected]> | 2014-07-18 15:41:45 +0200 |
| commit | 89101c6e78d1640dae06a2b978b752e69aa504a0 (patch) | |
| tree | b1d4c4499ed687c7c3b99d77548495dbe5b5f490 /src/test/data/script_valid.json | |
| parent | script tests: value with trailing 0x00 is true (diff) | |
| download | discoin-89101c6e78d1640dae06a2b978b752e69aa504a0.tar.xz discoin-89101c6e78d1640dae06a2b978b752e69aa504a0.zip | |
script test: test case for 5-byte bools
Diffstat (limited to 'src/test/data/script_valid.json')
| -rw-r--r-- | src/test/data/script_valid.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/data/script_valid.json b/src/test/data/script_valid.json index af0326ad9..082c65efe 100644 --- a/src/test/data/script_valid.json +++ b/src/test/data/script_valid.json @@ -66,6 +66,7 @@ ["0", "IF RETURN ENDIF 1", "RETURN only works if executed"], ["1 1", "VERIFY"], +["1 0x05 0x01 0x00 0x00 0x00 0x00", "VERIFY", "values >4 bytes can be cast to boolean"], ["10 0 11 TOALTSTACK DROP FROMALTSTACK", "ADD 21 EQUAL"], ["'gavin_was_here' TOALTSTACK 11 FROMALTSTACK", "'gavin_was_here' EQUALVERIFY 11 EQUAL"], |