fix: byte serialization of libp2p pubkey on debug endpoint (#1472)

This commit is contained in:
Giuliano Mega 2026-06-24 15:07:32 -03:00 committed by GitHub
parent da6bcfbfa8
commit c6e6fa30be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ proc init*(_: type DebugInfo, node: StorageNodeRef): DebugInfo =
let
peerInfo = node.switch.peerInfo
peerId = peerInfo.peerId
libp2pPubKeyBytes = peerInfo.publicKey.getBytes()
libp2pPubKeyBytes = peerInfo.publicKey.getRawBytes()
# Cause there's no canonical way to get your own key from MixProtocol
# that I'm aware of.