Browse Source

qa: Fix bug introduced in p2p-segwit.py

Changing __init__() -> set_test_params() in the tests should not have
applied to NodeConnCB-derived objects.
0.16
Suhas Daftuar 7 years ago
parent
commit
f97ab35fa9
  1. 4
      test/functional/p2p-segwit.py

4
test/functional/p2p-segwit.py

@ -32,8 +32,8 @@ def get_virtual_size(witness_block): @@ -32,8 +32,8 @@ def get_virtual_size(witness_block):
return vsize
class TestNode(NodeConnCB):
def set_test_params(self):
self.num_nodes = 3
def __init__(self):
super().__init__()
self.getdataset = set()
def on_getdata(self, conn, message):

Loading…
Cancel
Save