Skip to content

Commit

Permalink
Merge pull request #21 from input-output-hk/rvl/ghc-8.8
Browse files Browse the repository at this point in the history
Make bech32/app/Main.hs compatible with GHC 8.8
  • Loading branch information
KtorZ committed Jul 1, 2020
2 parents 7d3c9fb + 25bb8dd commit dd3fc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bech32/app/Main.hs
Expand Up @@ -148,7 +148,7 @@ run Cmd{prefix} = do
let fromBase58 = decodeBase58 bitcoinAlphabet . T.encodeUtf8
dataPartFromBytes <$> maybeToEither err (fromBase58 source)
Nothing ->
fail "Unable to detect input encoding. Neither Base16, \
Left "Unable to detect input encoding. Neither Base16, \
\Bech32 nor Base58."
B8.putStrLn $ T.encodeUtf8 $ Bech32.encodeLenient hrp datapart

Expand Down

0 comments on commit dd3fc94

Please sign in to comment.