From 94f7b51317fdf4e2bb75e383d170656fb0149ef8 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Tue, 30 Jun 2026 14:08:40 +0200 Subject: [PATCH] waku/api: point relay push handler at the renamed rln module master renamed waku_rln_relay -> rln (type WakuRLNRelay -> Rln, node field node.rln), so publish.nim's stale import broke the build when the branch was rebased. Use the rln module and Rln type so relayPushHandler resolves against current master. Co-Authored-By: Claude Opus 4.8 --- logos_delivery/waku/api/publish.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/logos_delivery/waku/api/publish.nim b/logos_delivery/waku/api/publish.nim index 10d518c03..51259504e 100644 --- a/logos_delivery/waku/api/publish.nim +++ b/logos_delivery/waku/api/publish.nim @@ -18,7 +18,7 @@ import node/waku_node, node/peer_manager, waku_relay/protocol, - waku_rln_relay/rln_relay, + rln, waku_lightpush/common, waku_lightpush/rpc, waku_lightpush/client, @@ -41,10 +41,10 @@ proc relayPushHandler*(self: Waku): PushMessageHandler = ## Builds the relay publish handler (appending an RLN proof when RLN is ## mounted) used by the send pipeline. Caller ensures relay is mounted. let rln = - if self.node.wakuRlnRelay.isNil(): - none[WakuRLNRelay]() + if self.node.rln.isNil(): + none[Rln]() else: - some(self.node.wakuRlnRelay) + some(self.node.rln) return getRelayPushHandler(self.node.wakuRelay, rln) proc lightpushPeerAvailable*(self: Waku, shard: PubsubTopic): bool =