mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Write data payload as hex to log
This commit is contained in:
@ -425,7 +425,7 @@ class Pubsub:
|
|||||||
log.debug(
|
log.debug(
|
||||||
"Topic validation failed: sender %s sent data %s under topic IDs: %s",
|
"Topic validation failed: sender %s sent data %s under topic IDs: %s",
|
||||||
f"{base58.b58encode(msg.from_id).decode()}:{msg.seqno.hex()}",
|
f"{base58.b58encode(msg.from_id).decode()}:{msg.seqno.hex()}",
|
||||||
msg.data,
|
msg.data.hex(),
|
||||||
msg.topicIDs,
|
msg.topicIDs,
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user