@@ -1317,10 +1317,11 @@ backgroundRetryForwards = do
13171317-- Fork the background prune loop (which runs an immediate sweep on its
13181318-- first tick) and start the HTTP listener. The forward-retry loop only
13191319-- runs when federation is enabled.
1320−main : IO {| r} {}
1320+main : IO {network, console, clock, random, r *challenges, r *forwardFailures, r *forwards, r *messages, r *presence, r *seqCounter, r *sessions, w *challenges, w *forwardFailures, w *forwards, w *messages, w *presence, w *seqCounter, w *sessions} {}
13211321main = do
13221322 _ <- logInfo ("Skrepka relay server starting on " ++ bindHost ++ ":" ++ show listenPort ++ " ...")
13231323 _ <- logInfo (" federation: " ++ (if federationEnabled then "enabled" else "disabled"))
13241324 _ <- fork backgroundPrune
13251325 _ <- when federationEnabled (fork backgroundRetryForwards)
1326− listenOn bindHost listenPort api
1326+ _ <- listenOn bindHost listenPort api
1327+ {}