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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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.