Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Bech32 decoder + encoder #312

Merged
merged 8 commits into from
May 24, 2019
2 changes: 2 additions & 0 deletions lib/bech32/bech32.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ library
, base
, bytestring
, extra
, text
hs-source-dirs:
src
exposed-modules:
Expand Down Expand Up @@ -61,6 +62,7 @@ test-suite bech32-test
, hspec
, bytestring
, QuickCheck
, text
main-is:
Main.hs
other-modules:
Expand Down
13 changes: 10 additions & 3 deletions lib/bech32/src/Codec/Binary/Bech32.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ module Codec.Binary.Bech32
encode
, decode

-- * Human-Readable Parts
-- * Data Part
, DataPart
, dataPartFromBytes
, dataPartFromText
, dataPartToBytes
, dataPartToText

-- * Human-Readable Part
, HumanReadablePart
, mkHumanReadablePart
, humanReadablePartToBytes
, humanReadablePartFromText
, humanReadablePartToText

) where

Expand Down
Loading