Skip to content
Unverified Commit bccb4d23 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 6c0bdc8c
Pipeline #464322 failed with stages
in 1 hour, 20 minutes, and 46 seconds