mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 19:42:13 +00:00
iterations on /goal
This commit is contained in:
1 parent
58efa813e2
commit
a8bb21d5ca
3 files changed
+7
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user