v30.3-roots.1 · Commit 42: [PATCH 42/68] test: adapt full-suite fixtures to current Roots policy and P2P APIs
test/functional/p2p_handshake.py
Before: test/functional/p2p_handshake.py · After: test/functional/p2p_handshake.py
File metadata
index a47809cba3e425650bf654e4b64a0f523e31d243..002e2ce88ec2e23f616f5d80cdd492e14e393c56 100755
Download original patch · Release notes
Diff rows 1–8 of 8. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
test/functional/p2p_handshake.py
CHANGED
|
@@ -83,7 +83,7 @@ class P2PHandshakeTest(BitcoinTestFramework):
|
|
|
83
83
|
version.strSubVer = P2P_SUBVERSION
|
|
84
84
|
version.nServices = P2P_SERVICES
|
|
85
85
|
version.nStartingHeight = fake_startheight
|
|
86
|
-
peer.send_message(version)
|
|
86
|
+
peer.send_without_ping(version)
|
|
87
87
|
peer.wait_for_verack()
|
|
88
88
|
peer_info = node.getpeerinfo()[-1]
|
|
89
89
|
assert_equal(peer_info['startingheight'], fake_startheight)
|