diff --git a/codexdht/private/eth/p2p/discoveryv5/protocol.nim b/codexdht/private/eth/p2p/discoveryv5/protocol.nim index 36e8de4..06bfec9 100644 --- a/codexdht/private/eth/p2p/discoveryv5/protocol.nim +++ b/codexdht/private/eth/p2p/discoveryv5/protocol.nim @@ -182,6 +182,9 @@ type DiscResult*[T] = Result[T, cstring] +func `$`*(p: Protocol): string = + $p.localNode.id + const defaultDiscoveryConfig* = DiscoveryConfig( tableIpLimits: DefaultTableIpLimits,