parent
01b404f43d
commit
5cd5da74c4
|
@ -1633,8 +1633,11 @@ proc shortForm*(id: NetKeyPair): string =
|
|||
proc subscribe*(
|
||||
node: Eth2Node, topic: string, topicParams: TopicParams,
|
||||
enableTopicMetrics: bool = false) {.raises: [Defect, CatchableError].} =
|
||||
proc dummyMsgHandler(topic: string, data: seq[byte]) {.async.} =
|
||||
discard
|
||||
proc dummyMsgHandler(topic: string, data: seq[byte]): Future[void] =
|
||||
# Avoid closure environment with `{.async.}`
|
||||
var res = newFuture[void]("eth2_network.dummyMsgHandler")
|
||||
res.complete()
|
||||
res
|
||||
|
||||
let
|
||||
topicName = topic & "_snappy"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9f301964ed74316de7796c0cbd9728190ac2fdda
|
||||
Subproject commit 83a20a992a56ee1207f575e88d906ee62d911d7f
|
Loading…
Reference in New Issue