mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-26 12:29:30 +00:00
fix: byte serialization of libp2p pubkey on debug endpoint (#1472)
This commit is contained in:
parent
da6bcfbfa8
commit
c6e6fa30be
@ -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