Currently, pad_tx overpads quite often. This diff makes it pad the
correct amount except in specific cases. This enables us to simplify
some other tests which need to pad blocks.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING3f1751925f6b: [qa] fix pad_tx to better match the desired size
rABC3f1751925f6b: [qa] fix pad_tx to better match the desired size
./test/functional/test_runner.py
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- fix-pad-tx (branched from master)
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3988 Build 6048: Bitcoin ABC Buildbot (legacy) Build 6047: arc lint + arc unit
Event Timeline
test/functional/test_framework/txtools.py | ||
---|---|---|
44 | temp variable for required_padding - padding_len - extra_bytes |
test/functional/test_framework/txtools.py | ||
---|---|---|
35 | padding_len is always equal to required_padding at this line. remove this line and make the next line: |