aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonic/wordlist.rs
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2023-09-25 09:59:00 +0200
committerNicholas Rodrigues Lordello <[email protected]>2025-04-01 08:52:25 +0200
commit581ef0eb8e5bd810501831a3f746d7c93ac2cbba (patch)
tree3338c5e1f98981a8887378d836709c9824009c5e /src/mnemonic/wordlist.rs
parente646e4bbe13b5b0603e9e8c8b062865afbb69d8d (diff)
refactor and split share into wordsfeat/shamir
Diffstat (limited to 'src/mnemonic/wordlist.rs')
-rw-r--r--src/mnemonic/wordlist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonic/wordlist.rs b/src/mnemonic/wordlist.rs
index 0e472ee..56dd55e 100644
--- a/src/mnemonic/wordlist.rs
+++ b/src/mnemonic/wordlist.rs
@@ -39,7 +39,7 @@ impl<'a> Wordlist<'a> {
/// # Panics
///
/// This method panics if the index is out of range for the BIP-0039 word
- /// list: it must be less than `WORD_COUNT` or `1024`.
+ /// list: it must be less than `WORD_COUNT` or `2048`.
pub fn word(&'a self, index: usize) -> &'a str {
assert!(index < WORD_COUNT, "invalid word index");
self.0[index]