HomePhabricator

tests: don't repeat scriptPubKey value

Description

tests: don't repeat scriptPubKey value

Summary:
Use a variable with a meaningful name to improve readability.

See https://reviews.bitcoinabc.org/D8929#204886

This is a partial backport of Core PR11423
364bae5f7a6b16eef63990154e48f19e7e693039

Test Plan: test/functional/test_runner.py p2p_invalid_tx

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Jan 18 2021, 15:47
abc-botPushed on Jan 18 2021, 15:53
Reviewer
Restricted Project
Differential Revision
D8934: tests: don't repeat scriptPubKey value
Parents
rABCe490dccb870f: [move only] Collect all private members of PeerLogicValidation together
Branches
Unknown
Tags
Unknown