diff --git a/eth/p2p/discoveryv5/protocol.nim b/eth/p2p/discoveryv5/protocol.nim index 1071a6b..c389671 100644 --- a/eth/p2p/discoveryv5/protocol.nim +++ b/eth/p2p/discoveryv5/protocol.nim @@ -428,7 +428,7 @@ proc receive*(d: Protocol, a: Address, packet: openArray[byte]) {.gcsafe, # CatchableErrors, in fact, we really don't, but hey, they might, considering we # can't enforce it. proc processClient(transp: DatagramTransport, raddr: TransportAddress): - Future[void] {.async, gcsafe, raises: [Exception, Defect].} = + Future[void] {.async, gcsafe.} = let proto = getUserData[Protocol](transp) # TODO: should we use `peekMessage()` to avoid allocation?