diff options
Diffstat (limited to 'src/mnemonic.rs')
| -rw-r--r-- | src/mnemonic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonic.rs b/src/mnemonic.rs index a9420c4..2cf04bb 100644 --- a/src/mnemonic.rs +++ b/src/mnemonic.rs @@ -47,7 +47,7 @@ impl Mnemonic { let mut buf = [0; 64]; let (seed, hash) = buf.split_at_mut(len); - rand::get_entropy(&mut *seed)?; + rand::fill(&mut *seed); hash_seed(seed, hash); buf |
