diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-05 12:11:54 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-05 12:11:10 +0200 |
commit | fae0b21e6c7a27f08ea8f8b49198c734f923b5da (patch) | |
tree | 4d94135215f530b7713cb56f133ea18ef831a0c3 /test/functional/p2p_addrfetch.py | |
parent | 260445bee8f003d5dd863d16e1eb2240bb130549 (diff) | |
download | bitcoin-fae0b21e6c7a27f08ea8f8b49198c734f923b5da.tar.xz |
test: Combine sync_send_with_ping and sync_with_ping
Diffstat (limited to 'test/functional/p2p_addrfetch.py')
-rwxr-xr-x | test/functional/p2p_addrfetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_addrfetch.py b/test/functional/p2p_addrfetch.py index 25efd50040..3ead653ba6 100755 --- a/test/functional/p2p_addrfetch.py +++ b/test/functional/p2p_addrfetch.py @@ -48,7 +48,7 @@ class P2PAddrFetch(BitcoinTestFramework): self.assert_getpeerinfo(peer_ids=[peer_id]) self.log.info("Check that we send getaddr but don't try to sync headers with the addr-fetch peer") - peer.sync_send_with_ping() + peer.sync_with_ping() with p2p_lock: assert peer.message_count['getaddr'] == 1 assert peer.message_count['getheaders'] == 0 |