summaryrefslogtreecommitdiff
path: root/main/Test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'main/Test.hs')
-rw-r--r--main/Test.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/Test.hs b/main/Test.hs
index a119b0f..c563291 100644
--- a/main/Test.hs
+++ b/main/Test.hs
@@ -959,8 +959,5 @@ cmdDiscoveryConnect :: Command
cmdDiscoveryConnect = do
[ tref ] <- asks tiParams
Just dgst <- return $ readRefDigest $ encodeUtf8 tref
-
Just RunningServer {..} <- gets tsServer
- peers <- liftIO $ getCurrentPeerList rsServer
- forM_ peers $ \peer -> do
- sendToPeer peer $ DiscoverySearch $ Right dgst
+ discoverySearch rsServer dgst