mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 07:44:57 +00:00
libwaku avoid nonsense onReceivedMessage cb in waku_relay_publish
This commit is contained in:
parent
243d466aa7
commit
1d206a5f5e
@ -297,12 +297,7 @@ proc waku_relay_publish(
|
||||
handleRequest(
|
||||
ctx,
|
||||
RequestType.RELAY,
|
||||
RelayRequest.createShared(
|
||||
RelayMsgType.PUBLISH,
|
||||
PubsubTopic($pst),
|
||||
WakuRelayHandler(onReceivedMessage(ctx)),
|
||||
wakuMessage,
|
||||
),
|
||||
RelayRequest.createShared(RelayMsgType.PUBLISH, PubsubTopic($pst), nil, wakuMessage),
|
||||
callback,
|
||||
userData,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user