aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-versionbits-warning.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-11-17 15:01:24 -0500
committerJohn Newbery <john@johnnewbery.com>2017-11-28 12:44:16 -0500
commitdad596fc37c8733ab806a0aa4224ac437d37aee5 (patch)
treebf014d46fb9d4e0ae865756c422000914dc9c314 /test/functional/p2p-versionbits-warning.py
parente30d404385f46811eeeea05c55ef786bc4adcb77 (diff)
downloadbitcoin-dad596fc37c8733ab806a0aa4224ac437d37aee5.tar.xz
[tests] Make NodeConnCB a subclass of NodeConn
This makes NodeConnCB a subclass of NodeConn, and removes the need for the client code to know anything about the implementation details of NodeConnCB. NodeConn can now be swapped out for any other implementation of a low-level connection without changing client code.
Diffstat (limited to 'test/functional/p2p-versionbits-warning.py')
-rwxr-xr-xtest/functional/p2p-versionbits-warning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p-versionbits-warning.py b/test/functional/p2p-versionbits-warning.py
index 464ca5a312..a6265f6d9c 100755
--- a/test/functional/p2p-versionbits-warning.py
+++ b/test/functional/p2p-versionbits-warning.py
@@ -24,7 +24,7 @@ WARN_UNKNOWN_RULES_ACTIVE = "unknown new rules activated (versionbit {})".format
VB_PATTERN = re.compile("^Warning.*versionbit")
class TestNode(NodeConnCB):
- def on_inv(self, conn, message):
+ def on_inv(self, message):
pass
class VersionBitsWarningTest(BitcoinTestFramework):