Skip to content

Commit

Permalink
Update cardano-config/src/Cardano/TracingOrphanInstances/Shelley.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Luke <[email protected]>
  • Loading branch information
dcoutts and intricate authored May 22, 2020
1 parent dfd582f commit 53dc90e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-config/src/Cardano/TracingOrphanInstances/Shelley.hs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ renderBadInputsUTxOErr txIns

renderValueNotConservedErr :: Coin -> Coin -> Value
renderValueNotConservedErr consumed produced
| consumed > produced = String "This transaction has consumed more ADA than it has produced."
| consumed < produced = String "This transaction has produced more ADA than it has consumed."
| consumed > produced = String "This transaction has consumed more Lovelace than it has produced."
| consumed < produced = String "This transaction has produced more Lovelace than it has consumed."
| otherwise = String "consumed == produced, this is not an error and this error should be impossible."


Expand Down

0 comments on commit 53dc90e

Please sign in to comment.