Page MenuHomePhabricator

tests: trivial simplification in pad_tx
ClosedPublic

Authored by PiRK on Jun 23 2022, 07:19.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCa43b1b63fcd4: tests: trivial simplification in pad_tx
Summary

There is no need to initialize an empty list to just append to it unconditionaly only once.

Note that this function has a dedicated unitest, so this change is tested extensively.

Test Plan

ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable