HomePhabricator

test: fix constructor of msg_tx

Description

test: fix constructor of msg_tx

Summary:
In python, if the default value is a mutable object
its shared over all instances, so that one instance being changed
would affect others to be changed as well.
This was likely the source of various intermittent bugs in the
functional tests.

This is a backport of core#30552

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Martin Zumsande <mzumsande@gmail.com>Authored on Jul 30 2024, 21:49
PiRKCommitted on Fri, Nov 7, 08:59
PiRKPushed on Fri, Nov 7, 08:59
Reviewer
Restricted Project
Differential Revision
D18896: test: fix constructor of msg_tx
Parents
rABC30f832577c3a: [metachronik] Another railway CI fix attempt
Branches
Unknown
Tags
Unknown

Event Timeline