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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
test/functional/test_framework/txtools.py | ||
---|---|---|
44 ↗ | (On Diff #5927) | temp variable for required_padding - padding_len - extra_bytes |
test/functional/test_framework/txtools.py | ||
---|---|---|
35 ↗ | (On Diff #5927) | padding_len is always equal to required_padding at this line. remove this line and make the next line: |