diff options
| author | Suhas Daftuar <[email protected]> | 2017-09-13 09:21:27 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2017-09-13 09:21:27 -0400 |
| commit | f97ab35fa9687fd5c110ad6cca5be5b4a5c2142d (patch) | |
| tree | 34e620db375e9a73c04f90e31a7fffa58fcb085b | |
| parent | qa: Treat mininode p2p exceptions as fatal (diff) | |
| download | discoin-f97ab35fa9687fd5c110ad6cca5be5b4a5c2142d.tar.xz discoin-f97ab35fa9687fd5c110ad6cca5be5b4a5c2142d.zip | |
qa: Fix bug introduced in p2p-segwit.py
Changing __init__() -> set_test_params() in the tests should not have
applied to NodeConnCB-derived objects.
| -rwxr-xr-x | test/functional/p2p-segwit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-segwit.py b/test/functional/p2p-segwit.py index 943bc2c6d..a9ef47559 100755 --- a/test/functional/p2p-segwit.py +++ b/test/functional/p2p-segwit.py @@ -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): |