mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-11-18 21:14:07 +01:00
avoid empty wallet seeds (#801)
* fix empty wallet seeds
* mnemonic: return actual error with entropy size on recovering
* seed: extend mnemonic error description
* seed: clarify mnemonic errors
* seed: clarify mnemonic errors, fix missing phrase test
* Clean up seed handling add test
---------
Co-authored-by: ardocrat <ardocrat@gri.mw>
(cherry picked from commit 51ce8e2f2a)
This commit is contained in:
@@ -81,7 +81,7 @@ where
|
||||
&mut self,
|
||||
name: Option<&str>,
|
||||
mnemonic: Option<ZeroingString>,
|
||||
mnemonic_length: usize,
|
||||
entropy_size: usize,
|
||||
password: ZeroingString,
|
||||
test_mode: bool,
|
||||
) -> Result<(), Error>;
|
||||
|
||||
Reference in New Issue
Block a user