wtf haskell

This commit is contained in:
Keagan McClelland
2021-01-21 16:57:20 -07:00
committed by Aiden McClelland
parent 8096bef541
commit d2a70a782b

View File

@@ -21,4 +21,4 @@ getAgentHiddenServiceUrlMaybe = fmap T.strip <$> readSystemPath agentTorHiddenSe
-- | 'newTorManager' currently assumes the tor client lives on the localhost. The port comes in over an argument.
-- If this is insufficient in the future, feel free to parameterize the host.
newTorManager :: Word16 -> IO Manager
newTorManager = newTlsManagerWith . mkManagerSettings def . Just . SockSettingsSimple "127.0.0.1" . fromIntegral
newTorManager = newManager . mkManagerSettings def . Just . SockSettingsSimple "127.0.0.1" . fromIntegral