test: Combine sync_send_with_ping and sync_with_ping

This commit is contained in:
MarcoFalke
2023-09-05 12:11:54 +02:00
parent 260445bee8
commit fae0b21e6c
8 changed files with 12 additions and 16 deletions

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):