mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
use normal appendRLNProof instead of unsafe
This commit is contained in:
parent
490e83dcd5
commit
68a42ddc01
@ -36,7 +36,7 @@ proc send(
|
|||||||
)
|
)
|
||||||
|
|
||||||
let rlnRes =
|
let rlnRes =
|
||||||
waku.node.wakuRlnRelay.unsafeAppendRLNProof(message, float64(getTime().toUnix()))
|
waku.node.wakuRlnRelay.appendRLNProof(message, float64(getTime().toUnix()))
|
||||||
if rlnRes.isOk:
|
if rlnRes.isOk:
|
||||||
let pubRes = await waku.node.publish(none(PubsubTopic), message)
|
let pubRes = await waku.node.publish(none(PubsubTopic), message)
|
||||||
if pubRes.isErr():
|
if pubRes.isErr():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user