Add function documentation

This commit is contained in:
Rene Vergara 2024-02-09 13:23:58 -06:00
parent c001fb5343
commit c91e23ab9c
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -27,7 +27,7 @@ import ZcashHaskell.Types (Phrase, Seed)
generateWalletSeedPhrase :: IO Phrase generateWalletSeedPhrase :: IO Phrase
generateWalletSeedPhrase = withBorshVarBuffer rustWrapperGenSeedPhrase generateWalletSeedPhrase = withBorshVarBuffer rustWrapperGenSeedPhrase
-- | Get -- | Derive a cryptographic seed from the given seed phrase.
getWalletSeed :: Phrase -> Maybe Seed getWalletSeed :: Phrase -> Maybe Seed
getWalletSeed p = getWalletSeed p =
if BS.length result > 0 if BS.length result > 0