Skip to content

Commit 0542978

Browse files
committed
Merge #10405: tests: Correct testcase in script_tests.json for large number OP_EQUAL
2f84cf6 tests: Correct testcase in script_tests.json for large number OP_EQUAL (Wladimir J. van der Laan) Tree-SHA512: 3a4d33c7d65ea40f25e2f5f2dfab8b0262cac8a7c33698eef8332ca5ec4a6f88f73fc51441892b49ffa85660be5037644430585f2eab76e257d544f9c2271ab7
2 parents 08ac35a + 2f84cf6 commit 0542978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/data/script_tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
["2147483647", "0x04 0xFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"],
350350
["2147483648", "0x05 0x0000008000 EQUAL", "P2SH,STRICTENC", "OK"],
351351
["549755813887", "0x05 0xFFFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"],
352-
["549755813888", "0x06 0xFFFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"],
352+
["549755813888", "0x06 0x000000008000 EQUAL", "P2SH,STRICTENC", "OK"],
353353
["9223372036854775807", "0x08 0xFFFFFFFFFFFFFF7F EQUAL", "P2SH,STRICTENC", "OK"],
354354
["-1", "0x01 0x81 EQUAL", "P2SH,STRICTENC", "OK", "Numbers are little-endian with the MSB being a sign bit"],
355355
["-127", "0x01 0xFF EQUAL", "P2SH,STRICTENC", "OK"],

0 commit comments

Comments
 (0)