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

@ -133,7 +133,7 @@ class AddrTest(BitcoinTestFramework):
self.mocktime += 10 * 60
self.nodes[0].setmocktime(self.mocktime)
for peer in receivers:
peer.sync_send_with_ping()
peer.sync_with_ping()
def oversized_addr_test(self):
self.log.info('Send an addr message that is too large')