aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-fingerprint.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-10-17 16:16:39 -0400
committerJohn Newbery <john@johnnewbery.com>2017-11-29 17:14:48 -0500
commit873beca6deda119077f53921f0d19c3ebfc7cc44 (patch)
tree426d8ecde39b8bf44612d5a9b4098d676a5c5917 /test/functional/p2p-fingerprint.py
parent9f2c2dba21855b8cb9b193b1819be73fa4a23a99 (diff)
downloadbitcoin-873beca6deda119077f53921f0d19c3ebfc7cc44.tar.xz
[tests] Rename NodeConn and NodeConnCB
NodeConn -> P2PConnection NodeConnCB -> P2PInterface
Diffstat (limited to 'test/functional/p2p-fingerprint.py')
-rwxr-xr-xtest/functional/p2p-fingerprint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-fingerprint.py b/test/functional/p2p-fingerprint.py
index a8ce68374c..209c789f22 100755
--- a/test/functional/p2p-fingerprint.py
+++ b/test/functional/p2p-fingerprint.py
@@ -14,7 +14,7 @@ from test_framework.blocktools import (create_block, create_coinbase)
from test_framework.mininode import (
CInv,
NetworkThread,
- NodeConnCB,
+ P2PInterface,
msg_headers,
msg_block,
msg_getdata,
@@ -75,7 +75,7 @@ class P2PFingerprintTest(BitcoinTestFramework):
# This does not currently test that stale blocks timestamped within the
# last month but that have over a month's worth of work are also withheld.
def run_test(self):
- node0 = self.nodes[0].add_p2p_connection(NodeConnCB())
+ node0 = self.nodes[0].add_p2p_connection(P2PInterface())
NetworkThread().start()
node0.wait_for_verack()