Compare commits
No commits in common. "69bce58345bfb9b0bf2a30d1cae0b834a769d66f" and "517b736c9a67a9f54546cce04f589b0fdfa9c8d0" have entirely different histories.
69bce58345
...
517b736c9a
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ import C.Zcash
|
|||
, rustWrapperF4Jumble
|
||||
, rustWrapperF4UnJumble
|
||||
)
|
||||
import Control.Exception (SomeException(..), try)
|
||||
import Control.Exception (try)
|
||||
import Control.Monad.IO.Class
|
||||
import Data.Aeson
|
||||
import qualified Data.ByteString as BS
|
||||
|
@ -91,7 +91,7 @@ makeZebraCall host port m params = do
|
|||
setRequestMethod "POST" defaultRequest
|
||||
r <-
|
||||
try $ httpJSON myRequest :: FromJSON a1 =>
|
||||
IO (Either SomeException (Response (RpcResponse a1)))
|
||||
IO (Either HttpException (Response (RpcResponse a1)))
|
||||
case r of
|
||||
Left ex -> return $ Left $ show ex
|
||||
Right res -> do
|
||||
|
|
Loading…
Reference in a new issue