Skip to content

Commit

Permalink
Fix typo in Pretty instance for WriteBalancedTxResponse (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
paluh committed May 18, 2022
1 parent e51f57f commit 37c54aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plutus-contract/src/Plutus/Contract/Effects.hs
Expand Up @@ -352,7 +352,7 @@ data WriteBalancedTxResponse =
instance Pretty WriteBalancedTxResponse where
pretty = \case
WriteBalancedTxFailed e -> "WriteBalancedTxFailed:" <+> pretty e
WriteBalancedTxSuccess tx -> "WriteBalancedTxFailed:" <+> pretty (getCardanoTxId tx)
WriteBalancedTxSuccess tx -> "WriteBalancedTxSuccess:" <+> pretty (getCardanoTxId tx)

writeBalancedTxResponse :: Iso' WriteBalancedTxResponse (Either WalletAPIError CardanoTx)
writeBalancedTxResponse = iso f g where
Expand Down

0 comments on commit 37c54aa

Please sign in to comment.