use getRawBytes to avoid protobuf-serializing the key

This commit is contained in:
gmega 2026-06-24 14:54:49 -03:00
parent 6be5fdf424
commit 5365e5fbed
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18

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.