diff options
author | Jon Atack <jon@atack.com> | 2020-06-17 11:08:56 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-06-19 14:14:16 +0200 |
commit | 9fa494dc0969c61d5ef33708a08923cca19ce091 (patch) | |
tree | 51e793a84110f1b77b945aafdb5c19f8e69cb1ce /test/functional/p2p_addr_relay.py | |
parent | 5f72ddb7ee4cc177de31f43c69390ee72687222a (diff) | |
download | bitcoin-9fa494dc0969c61d5ef33708a08923cca19ce091.tar.xz |
net: update misbehavior logging for oversized messages
so that oversized ADDR, GETDATA, HEADERS and INV messages print
the same consistent debug logs.
Diffstat (limited to 'test/functional/p2p_addr_relay.py')
-rwxr-xr-x | test/functional/p2p_addr_relay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p_addr_relay.py b/test/functional/p2p_addr_relay.py index 6046237101..5c7e27a3a8 100755 --- a/test/functional/p2p_addr_relay.py +++ b/test/functional/p2p_addr_relay.py @@ -49,9 +49,9 @@ class AddrTest(BitcoinTestFramework): addr_source = self.nodes[0].add_p2p_connection(P2PInterface()) msg = msg_addr() - self.log.info('Send too large addr message') + self.log.info('Send too-large addr message') msg.addrs = ADDRS * 101 - with self.nodes[0].assert_debug_log(['message addr size() = 1010']): + with self.nodes[0].assert_debug_log(['addr message size = 1010']): addr_source.send_and_ping(msg) self.log.info('Check that addr message content is relayed and added to addrman') |