diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-03-30 09:22:59 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-03-30 09:23:15 +0200 |
commit | 8ac80412867118172dc4172494304e19969e9489 (patch) | |
tree | 8440973397b9932a65f835c4142eb8e959d32262 /test/functional/p2p-segwit.py | |
parent | f34cdcbd806d3e7c9d5dbac2a201755a4cc9828b (diff) | |
parent | 159fe88abfadf67410578c145e631819cf50b660 (diff) | |
download | bitcoin-8ac80412867118172dc4172494304e19969e9489.tar.xz |
Merge #10109: Remove SingleNodeConnCB
159fe88 Remove SingleNodeConnCB (John Newbery)
Tree-SHA512: 2fc3d060f4ac9445e657134919a871c46987d53eb98d23a858ee9515fc997be7a81923f08f2a37d07d123b55b912ae82ffa0f820d16297b044ab24dcf0788a8a
Diffstat (limited to 'test/functional/p2p-segwit.py')
-rwxr-xr-x | test/functional/p2p-segwit.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/p2p-segwit.py b/test/functional/p2p-segwit.py index dcf2b9a7de..69f829279c 100755 --- a/test/functional/p2p-segwit.py +++ b/test/functional/p2p-segwit.py @@ -32,10 +32,9 @@ def get_virtual_size(witness_block): vsize = int((3*base_size + total_size + 3)/4) return vsize -# Note: we can reduce code by using SingleNodeConnCB (in master, not 0.12) class TestNode(NodeConnCB): def __init__(self): - NodeConnCB.__init__(self) + super().__init__() self.connection = None self.ping_counter = 1 self.last_pong = msg_pong(0) |