Implement Read
instance #7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue