aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2020-12-18 07:41:34 +1000
committerAnthony Towns <aj@erisian.com.au>2021-01-28 16:04:04 +1000
commit98fab37ca0517bfe58296e47266cd5bd112e90bf (patch)
tree1f96dfc9201173194d094a317540f4538d2d7976 /test
parent12302105bb0bf14721e91b7a3a9d1bf83c8d4154 (diff)
downloadbitcoin-98fab37ca0517bfe58296e47266cd5bd112e90bf.tar.xz
net: use peer=N instead of from=N in debug log
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/p2p_timeouts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/p2p_timeouts.py b/test/functional/p2p_timeouts.py
index 47832b04bf..a7e240dcfa 100755
--- a/test/functional/p2p_timeouts.py
+++ b/test/functional/p2p_timeouts.py
@@ -74,9 +74,9 @@ class TimeoutsTest(BitcoinTestFramework):
no_version_node.send_message(msg_ping())
expected_timeout_logs = [
- "version handshake timeout from 0",
- "socket no message in first 3 seconds, 1 0 from 1",
- "socket no message in first 3 seconds, 0 0 from 2",
+ "version handshake timeout peer=0",
+ "socket no message in first 3 seconds, 1 0 peer=1",
+ "socket no message in first 3 seconds, 0 0 peer=2",
]
with self.nodes[0].assert_debug_log(expected_msgs=expected_timeout_logs):