diff --git a/eth/p2p/rlpx_protocols/whisper/whisper_types.nim b/eth/p2p/rlpx_protocols/whisper/whisper_types.nim index a7136ab..abc6533 100644 --- a/eth/p2p/rlpx_protocols/whisper/whisper_types.nim +++ b/eth/p2p/rlpx_protocols/whisper/whisper_types.nim @@ -110,7 +110,7 @@ type ## XXX: really big messages can cause excessive mem usage when using msg \ ## count - FilterMsgHandler* = proc(msg: ReceivedMessage) {.gcsafe, closure.} + FilterMsgHandler* = proc(msg: ReceivedMessage) {.gcsafe, raises: [Defect].} Filter* = object src*: Option[PublicKey]