From a43a4b7d5a2904a077c72435e5fb581d0dfae6ae Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 15 Apr 2024 13:19:52 +0200 Subject: [PATCH] apps/char2/chat2.nim update leftover import --- apps/chat2/chat2.nim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/chat2/chat2.nim b/apps/chat2/chat2.nim index d27357633c..08b8bf72b2 100644 --- a/apps/chat2/chat2.nim +++ b/apps/chat2/chat2.nim @@ -39,7 +39,7 @@ import ../../waku/waku_lightpush/rpc, ../../waku/waku_enr, ../../waku/waku_store, - ../../waku/waku_dnsdisc, + ../../waku/node/discovery_manager/waku_dnsdisc, ../../waku/waku_node, ../../waku/node/waku_metrics, ../../waku/node/peer_manager, @@ -523,7 +523,9 @@ proc processInput(rfd: AsyncFD, rng: ref HmacDrbgContext) {.async.} = if msg.contentTopic == chat.contentTopic: chat.printReceivedMessage(msg) - node.subscribe((kind: PubsubSub, topic: DefaultPubsubTopic), some(WakuRelayHandler(handler))) + node.subscribe( + (kind: PubsubSub, topic: DefaultPubsubTopic), some(WakuRelayHandler(handler)) + ) if conf.rlnRelay: info "WakuRLNRelay is enabled"