diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-08-31 19:29:14 +0000 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-08-31 19:29:14 +0000 |
| commit | 8d7df73c2a02325c0754db28a1ca3562a8962e03 (patch) | |
| tree | 6a38c3b665a7f2b57a4f2695af0f3fc1529d1db4 /src/mnemonic.rs | |
| parent | f608cce748d80d46f49ba25999e4334fd959b070 (diff) | |
Initial typed data signing support
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 1d553f0..05d9930 100644 --- a/src/mnemonic.rs +++ b/src/mnemonic.rs @@ -63,7 +63,7 @@ impl Mnemonic { } fn from_phrase_str(mnemonic: &str) -> Result<Self> { - let (language, words) = Language::split(mnemonic.as_ref())?; + let (language, words) = Language::split(mnemonic)?; let len = mnemonic_to_byte_length(words.len())?; let buf = { |
