Unverified Commit cd010925 authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

net/strategy: Log bad peerId from on_validated_block_announce (#4051)

This tiny PR extends the `on_validated_block_announce` log with the bad
PeerID.
Used to identify if the peerID is malicious by correlating with other
logs (ie peer-set).

While at it, have removed the `\n` from a multiline log, which did not
play well with
[sub-triage-logs](https://github.com/lexnv/sub-triage-logs/tree/master

).

cc @paritytech/networking

---------

Signed-off-by: default avatarAlexandru Vasile <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 0d71753e
Pipeline #464372 failed with stages
in 2 hours, 1 minute, and 35 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment