test: Combine sync_send_with_ping and sync_with_ping

This commit is contained in:
MarcoFalke committed 2023-09-05 12:11:10 +02:00
1 parent 260445bee8
commit fae0b21e6c
8 files changed
+12 -16

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ class P2PBlocksOnly(BitcoinTestFramework):
# Bump time forward to ensure m_next_inv_send_time timer pops
self.nodes[0].setmocktime(int(time.time()) + 60)
conn.sync_send_with_ping()
conn.sync_with_ping()
assert int(txid, 16) not in conn.get_invs()
def check_p2p_inv_violation(self, peer):