mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +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.
This commit is contained in:
parent
a7820422e0
commit
f97ab35fa9
@ -32,8 +32,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):
|
||||||
|
Loading…
Reference in New Issue
Block a user