Fix the construction logic for check_size test.
Details
Details
- Reviewers
deadalnix dagurval freetrader - Group Reviewers
Restricted Project - Commits
- rSTAGINGd9b1cd518eab: Fix cashaddrenc_tests/check_size
rABCd9b1cd518eab: Fix cashaddrenc_tests/check_size
make check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- fix_check_size
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1260 Build 1260: arc lint + arc unit
Event Timeline
Comment Actions
Not clear to me why adding 1.5 bytes with no comment is desirable. I thought initially the 12 was due to the bitcoincash prefix somehow.
Comment Actions
I don't think the logic is broken to begin with and I don't think adding floating point ops is beneficial. If anything it opens to rounding problems.
Comment Actions
If I had to spend 30 minutes trying to figure out why expectedSize was calculated the way it is, then the comment is valuable.