libwaku avoid nonsense onReceivedMessage cb in waku_relay_publish

This commit is contained in:
Ivan Folgueira Bande 2024-12-19 22:57:30 +01:00
parent 243d466aa7
commit 1d206a5f5e
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -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,
)