Fixes T312. 0x0 and 0x001 are examples of hex values that fail the script parser. This isn't immediately obvious unless you're familiar with the code, and the script fails with a totally useless and generic error message.
Details
Details
- Reviewers
deadalnix schancel - Group Reviewers
Restricted Project - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- rSTAGING16c4d349cdde: Give more descriptive error when parsing partial-byte hex values
rABC16c4d349cdde: Give more descriptive error when parsing partial-byte hex values
make check + make check with script_tests.json having one line changed 0x02 -> 0x2 (fails with the expected error)
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- arcpatch-D1290
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2326 Build 2789: Bitcoin ABC Buildbot (legacy) Build 2788: arc lint + arc unit