mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-09 08:43:04 +01:00
qa: Fix bug introduced in p2p-segwit.py
Changing __init__() -> set_test_params() in the tests should not have
applied to NodeConnCB-derived objects.
Github-Pull: #11319
Rebased-From: f97ab35fa9
This commit is contained in:
committed by
MarcoFalke
parent
2f0b30a58a
commit
8d2e51d862
@@ -33,8 +33,8 @@ def get_virtual_size(witness_block):
|
|||||||
return vsize
|
return vsize
|
||||||
|
|
||||||
class TestNode(NodeConnCB):
|
class TestNode(NodeConnCB):
|
||||||
def set_test_params(self):
|
def __init__(self):
|
||||||
self.num_nodes = 3
|
super().__init__()
|
||||||
self.getdataset = set()
|
self.getdataset = set()
|
||||||
|
|
||||||
def on_getdata(self, conn, message):
|
def on_getdata(self, conn, message):
|
||||||
|
|||||||
Reference in New Issue
Block a user