summaryrefslogtreecommitdiff
path: root/OnionRouter.hs
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2018-11-04 20:23:44 -0500
committerJoe Crayne <joe@jerkface.net>2018-11-04 20:24:02 -0500
commit7e255f7695b700eefb06f7ec508464a2fbf5163a (patch)
tree85f7038f4b1d1f4e7c8c8a7a081819e44b9ad6ce /OnionRouter.hs
parente0fc956953100a375ef1e325d8e5d53b96de0749 (diff)
Build fixes for GHC 8.6.1
Diffstat (limited to 'OnionRouter.hs')
-rw-r--r--OnionRouter.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OnionRouter.hs b/OnionRouter.hs
index b11a0bf6..f1b0b41c 100644
--- a/OnionRouter.hs
+++ b/OnionRouter.hs
@@ -286,7 +286,9 @@ handleEvent getnodes or e@(BuildRoute (RouteId rid)) = do
286 ts <- selectTrampolines or 286 ts <- selectTrampolines or
287 join . atomically $ do 287 join . atomically $ do
288 drg <- readTVar (onionDRG or) 288 drg <- readTVar (onionDRG or)
289 [av,bv,cv] <- sequence $ replicate 3 (newTVar Nothing) 289 av <- newTVar Nothing
290 bv <- newTVar Nothing
291 cv <- newTVar Nothing
290 let (getr, drg') = withDRG drg $ do 292 let (getr, drg') = withDRG drg $ do
291 asec <- generateSecretKey -- Three aliases 293 asec <- generateSecretKey -- Three aliases
292 bsec <- generateSecretKey 294 bsec <- generateSecretKey