diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-05-15 16:59:19 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-05-15 17:10:32 +0200 |
| commit | 2f84cf66542a34db5bbfacaf9125474d85038bf1 (patch) | |
| tree | 893b0bbdd1d4998866349f8563b72276f7c0ddf3 /src/test/data/script_tests.json | |
| parent | Merge #9494: Introduce an ArgsManager class encapsulating cs_args, mapArgs a... (diff) | |
| download | discoin-2f84cf66542a34db5bbfacaf9125474d85038bf1.tar.xz discoin-2f84cf66542a34db5bbfacaf9125474d85038bf1.zip | |
tests: Correct testcase in script_tests.json for large number OP_EQUAL
Fix a test case that was passing correctly by accident, but not testing
the right thing. Reported by helo on IRC.
Diffstat (limited to 'src/test/data/script_tests.json')
| -rw-r--r-- | src/test/data/script_tests.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/data/script_tests.json b/src/test/data/script_tests.json index 5c054ed3e..e35a7ce56 100644 --- a/src/test/data/script_tests.json +++ b/src/test/data/script_tests.json @@ -349,7 +349,7 @@ ["2147483647", "0x04 0xFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"], ["2147483648", "0x05 0x0000008000 EQUAL", "P2SH,STRICTENC", "OK"], ["549755813887", "0x05 0xFFFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"], -["549755813888", "0x06 0xFFFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"], +["549755813888", "0x06 0x000000008000 EQUAL", "P2SH,STRICTENC", "OK"], ["9223372036854775807", "0x08 0xFFFFFFFFFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"], ["-1", "0x01 0x81 EQUAL", "P2SH,STRICTENC", "OK", "Numbers are little-endian with the MSB being a sign bit"], ["-127", "0x01 0xFF EQUAL", "P2SH,STRICTENC", "OK"], |