Skip to content

Commit

Permalink
Fix compilation error following rebase on master
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-iohk committed Oct 25, 2021
1 parent 8467f7c commit b9cca24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion local-cluster/src/CardanoClient.hs
Expand Up @@ -173,7 +173,7 @@ build networkId socket changeAddress txIns collateral txOuts = do
eraHistory <- queryEraHistory networkId socket
stakePools <- queryStakePools networkId socket
utxo <- queryUtxoByTxIn networkId socket (map fst txIns)
either (throwIO . BuildException . show) (pure . extractBody) $
either (throwIO . BuildException) (pure . extractBody) $
makeTransactionBodyAutoBalance
AlonzoEraInCardanoMode
systemStart
Expand Down Expand Up @@ -266,6 +266,7 @@ submit networkId socket tx =
data CardanoClientException
= QueryException Text
| SubmitException Text
| BuildException TxBodyErrorAutoBalance
deriving (Show)

instance Exception CardanoClientException

0 comments on commit b9cca24

Please sign in to comment.