aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonic.rs
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2023-09-16 09:41:20 +0200
committerNicholas Rodrigues Lordello <[email protected]>2023-09-16 09:41:20 +0200
commit4f8d89bc35341f4b096a89f8c8850932276d7b71 (patch)
tree17307090a3faff764d8da0ea8be125363764d190 /src/mnemonic.rs
parentaf75d830238674a3d159e2422cb1a1018f7bc6b2 (diff)
Update dependencies
Diffstat (limited to 'src/mnemonic.rs')
-rw-r--r--src/mnemonic.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mnemonic.rs b/src/mnemonic.rs
index 432c88a..bd9e108 100644
--- a/src/mnemonic.rs
+++ b/src/mnemonic.rs
@@ -156,7 +156,8 @@ impl Mnemonic {
salt.nfkd().to_string().as_bytes(),
ROUNDS,
&mut buf,
- );
+ )
+ .expect("HMAC can be initialized with any key length");
Seed(buf)
}