Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
This commit is contained in:
Dean Eigenmann 2020-09-18 05:48:18 +02:00 committed by GitHub
parent 7bc0381768
commit 6f210af71f

View File

@ -182,10 +182,6 @@ proc publish*(node: WakuNode, topic: Topic, message: WakuMessage) =
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
let data = message.encode().buffer