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
Branch
simplify_pad_tx
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19449
Build 38631: Build Diffbuild-diff · build-without-wallet · build-debug · build-clang-tidy · build-clang
Build 38630: arc lint + arc unit