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.

Github-Pull: #11319
Rebased-From: f97ab35fa9
tags/v0.15.1
Suhas Daftuar 3 years ago
parent
commit
8d2e51d862
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      test/functional/p2p-segwit.py

+ 2
- 2
test/functional/p2p-segwit.py View File

@@ -33,8 +33,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