Skip to content

Commit

Permalink
re-break TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacoby6000 committed Nov 24, 2019
1 parent 3573c8f commit d25590c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exec/Miner/Http.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ post :: WT.Postable a => HostAddress -> String -> a -> IO (Either T.Text ByteStr
post addr path a = second C.responseBody <$> readResponse (W.postWith httpOpts (url addr path) a)

getWithBody :: (Show a, WT.Postable a) => HostAddress -> String -> a -> IO (Either T.Text ByteString)
getWithBody addr path a = second C.responseBody <$> readResponse (W.customPayloadMethod "GET" (url addr path) a)
getWithBody addr path a = second C.responseBody <$> readResponse (W.customPayloadMethodWith "GET" httpOpts (url addr path) a)

getJSON :: FromJSON a => HostAddress -> String -> IO (Either T.Text a)
getJSON addr path = getJSONWith addr path []
Expand Down
2 changes: 1 addition & 1 deletion kda-miner.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: kda-miner
version: 1.0.3
version: 1.0.4
description: Unofficial mining software for the Kadena Public Blockchain.
homepage: https://github.com/kadena-io/chainweb-miner
author: Jacob Barber
Expand Down

0 comments on commit d25590c

Please sign in to comment.