Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Apr 8, 2021
1 parent 8ad7514 commit e36d473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cardano-db-tool/src/Cardano/Db/Tool/Validate/Balance.hs
Expand Up @@ -81,7 +81,7 @@ getCompactAddress :: Text -> Either Text (CompactAddr c)
getCompactAddress addrText = case Api.deserialiseAddress (Api.AsAddress Api.AsShelleyAddr) addrText of
Nothing ->
case decodeAddressBase58 addrText of
Left err -> Left $ textShow err
Left err -> Left $ textShow err
Right badrr -> Right $ compactAddr (AddrBootstrap $ BootstrapAddress badrr)
Just (Api.ShelleyAddress n p s) ->
let addr = Addr n (coerce p) (coerce s)
Expand Down
4 changes: 2 additions & 2 deletions cardano-db/src/Cardano/Db/Types.hs
Expand Up @@ -112,8 +112,8 @@ showDbInt65 :: DbInt65 -> String
showDbInt65 i65 =
case i65 of
PosInt65 w -> show w
NegInt65 0 -> "0"
NegInt65 w -> '-' : show w
NegInt65 0 -> "0"
NegInt65 w -> '-' : show w

readRewardType :: Text -> Shelley.RewardType
readRewardType str =
Expand Down

0 comments on commit e36d473

Please sign in to comment.