mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-26 12:29:30 +00:00
use getRawBytes to avoid protobuf-serializing the key
This commit is contained in:
parent
6be5fdf424
commit
5365e5fbed
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user