diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index a1eb53b18..49dfa84c6 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit a1eb53b1813df5d4fa1b343ef003ad9fb5ebb1d8 +Subproject commit 49dfa84c6ffc8932aae03b64953ef1721d51a812 diff --git a/vendor/nim-websock b/vendor/nim-websock index fea05cde8..2c3ae3137 160000 --- a/vendor/nim-websock +++ b/vendor/nim-websock @@ -1 +1 @@ -Subproject commit fea05cde8b123b38d1a0a8524b77efbc84daa848 +Subproject commit 2c3ae3137f3c9cb48134285bd4a47186fa51f0e8 diff --git a/waku/v2/waku_relay/protocol.nim b/waku/v2/waku_relay/protocol.nim index 2bd054769..a2a17a9b7 100644 --- a/waku/v2/waku_relay/protocol.nim +++ b/waku/v2/waku_relay/protocol.nim @@ -199,7 +199,7 @@ proc subscribe*(w: WakuRelay, pubsubTopic: PubsubTopic, handler: WakuRelayHandle debug "subscribe", pubsubTopic=pubsubTopic # we need to wrap the handler since gossipsub doesnt understand WakuMessage - let wrappedHandler = proc(pubsubTopic: string, data: seq[byte]): Future[void] {.gcsafe, raises: [Defect].} = + let wrappedHandler = proc(pubsubTopic: string, data: seq[byte]): Future[void] {.gcsafe, raises: [].} = let decMsg = WakuMessage.decode(data) if decMsg.isErr(): # fine if triggerSelf enabled, since validators are bypassed