aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/txcreate1.hex
diff options
context:
space:
mode:
authorDave Collins <davec@conformal.com>2015-04-27 21:39:32 -0500
committerDave Collins <davec@conformal.com>2015-04-27 21:47:55 -0500
commitd8f4cc328ede29f2842f9a870e00168231d73840 (patch)
tree89fb7cbf98a45a91e88e9c6a474c6cd04f00f0fd /src/test/data/txcreate1.hex
parent1d9d314573ee48f6f51107265f1cf1fa9e36c998 (diff)
Correct the PUSHDATA4 minimal encoding test.
The test which is intended to prove that the script engine is properly rejecting non-minimally encoded PUSHDATA4 data is using the wrong opcode and value. The test is using 0x4f, which is OP_1NEGATE instead of the desired 0x4e, which is OP_PUSHDATA4. Further, the push of data is intended to be 256 bytes, but the value the test is using is 0x00100000 (4096), instead of the desired 0x00010000 (256). This commit fixes both issues. This was found while examining the branch coverage in btcd against only these tests to help find missing branch coverage.
Diffstat (limited to 'src/test/data/txcreate1.hex')
0 files changed, 0 insertions, 0 deletions