mirror of https://github.com/status-im/nim-eth.git
Add raises annotation to the FilterMsgHandler proc type (#337)
This commit is contained in:
parent
0be863d2de
commit
8c27f291f5
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue