From faf1d047313e71658fb31f6b94fdd5d37705ab85 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 31 Mar 2020 15:36:46 -0400 Subject: test: Remove redundant sync_with_ping after add_p2p_connection Also replace the two-line (send_message + sync_with_ping) with the one-line send_and_ping --- test/functional/p2p_invalid_messages.py | 1 - 1 file changed, 1 deletion(-) (limited to 'test/functional/p2p_invalid_messages.py') diff --git a/test/functional/p2p_invalid_messages.py b/test/functional/p2p_invalid_messages.py index 9876d749ff..759f111e69 100755 --- a/test/functional/p2p_invalid_messages.py +++ b/test/functional/p2p_invalid_messages.py @@ -140,7 +140,6 @@ class InvalidMessagesTest(BitcoinTestFramework): # Node is still up. conn = node.add_p2p_connection(P2PDataStore()) - conn.sync_with_ping() def test_magic_bytes(self): conn = self.nodes[0].add_p2p_connection(P2PDataStore()) -- cgit v1.2.3