fix: add missing check for sending addrs

This commit is contained in:
UdjinM6 2024-04-02 17:38:58 +03:00
parent 3cd69377b6
commit 0e78555a5b
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -54,6 +54,7 @@ class AddrTest(BitcoinTestFramework):
with self.nodes[0].assert_debug_log([ with self.nodes[0].assert_debug_log([
'Added 10 addresses from 127.0.0.1: 0 tried', 'Added 10 addresses from 127.0.0.1: 0 tried',
'received: addr (301 bytes) peer=0', 'received: addr (301 bytes) peer=0',
'sending addr (301 bytes) peer=1',
]): ]):
addr_source.send_and_ping(msg) addr_source.send_and_ping(msg)
self.bump_mocktime(30 * 60) self.bump_mocktime(30 * 60)