iterations on /goal

This commit is contained in:
Alain Brenzikofer committed 2026-09-30 15:07:19 +02:00
1 parent 58efa813e2
commit a8bb21d5ca
3 files changed
+7 -16

No files matched your search

+1 -4
View File
@@ -55,11 +55,8 @@ data WalletError
| WEAccountsExhausted
deriving (Eq, Show)
masterStrength :: B39.EntropyStrength
masterStrength = B39.ES256
newEntropy :: TVar ChaChaDRG -> IO B39.WalletEntropy
newEntropy = atomically . B39.randomEntropy masterStrength
newEntropy = atomically . B39.randomEntropy B39.ES256
entropyFromMnemonic :: Text -> Either WalletError B39.WalletEntropy
entropyFromMnemonic = first (const WEBadMnemonic) . B39.parsePhrase