HomePhabricator

tests: trivial simplification in pad_tx

Description

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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D11658

Details

Provenance
PiRKAuthored on Jun 23 2022, 07:12
PiRKPushed on Jun 24 2022, 08:40
Reviewer
Restricted Project
Differential Revision
D11658: tests: trivial simplification in pad_tx
Parents
rABC081894925993: [Cashtab] Airdrop OP_RETURN patch
Branches
Unknown
Tags
Unknown