use normal appendRLNProof instead of unsafe

This commit is contained in:
stubbsta 2024-06-20 13:38:49 +02:00
parent 490e83dcd5
commit 68a42ddc01

View File

@ -36,7 +36,7 @@ proc send(
)
let rlnRes =
waku.node.wakuRlnRelay.unsafeAppendRLNProof(message, float64(getTime().toUnix()))
waku.node.wakuRlnRelay.appendRLNProof(message, float64(getTime().toUnix()))
if rlnRes.isOk:
let pubRes = await waku.node.publish(none(PubsubTopic), message)
if pubRes.isErr():