mirror of https://github.com/waku-org/nwaku.git
parent
6b866490ad
commit
24e2f7dcdc
|
@ -182,10 +182,6 @@ proc publish*(node: WakuNode, topic: Topic, message: WakuMessage) =
|
||||||
|
|
||||||
let wakuRelay = node.wakuRelay
|
let wakuRelay = node.wakuRelay
|
||||||
|
|
||||||
# XXX Unclear what the purpose of this is
|
|
||||||
# Commenting out as it is later expected to be Message type, not WakuMessage
|
|
||||||
#node.messages.insert((topic, message))
|
|
||||||
|
|
||||||
debug "publish", topic=topic, contentTopic=message.contentTopic
|
debug "publish", topic=topic, contentTopic=message.contentTopic
|
||||||
let data = message.encode().buffer
|
let data = message.encode().buffer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue