HomePhabricator

test: Verify findCommonAncestor always initializes outputs

Description

test: Verify findCommonAncestor always initializes outputs

Summary:

Also add code comment to clarify surprising code noted by practicalswift
https://github.com/bitcoin/bitcoin/pull/18657#issuecomment-614278450

See also discussion on unmerged PR18657, for why this test is added.

This is a backport of Core PR18660

Test Plan: ninja && ninja check

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Jan 15 2021, 17:31
PiRKCommitted on Jan 15 2021, 17:31
abc-botPushed on Jan 15 2021, 17:38
Reviewer
Restricted Project
Differential Revision
D8932: test: Verify findCommonAncestor always initializes outputs
Parents
rABCb010f23ba61c: test: coverage improvements in interface-bitcoin_cli.py
Branches
Unknown
Tags
Unknown