Skip to content

Commit

Permalink
apps/char2/chat2.nim update leftover import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status committed Apr 15, 2024
1 parent 35d85d8 commit a43a4b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/chat2/chat2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit a43a4b7

Please sign in to comment.