File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,8 @@ impl Builder {
259259 pub fn set_entropy_bip39_mnemonic (
260260 & mut self , mnemonic : bip39:: Mnemonic , passphrase : Option < String > ,
261261 ) -> & mut Self {
262- self . entropy_source = Some ( WalletEntropySource :: Bip39Mnemonic { mnemonic, passphrase } ) ;
262+ self . entropy_source_config =
263+ Some ( EntropySourceConfig :: Bip39Mnemonic { mnemonic, passphrase } ) ;
263264 self
264265 }
265266
@@ -326,7 +327,7 @@ impl Builder {
326327 EntropySourceConfig :: SeedFile ( seed_path) => {
327328 io:: utils:: read_or_generate_seed_file ( seed_path)
328329 }
329- WalletEntropySource :: Bip39Mnemonic { mnemonic, passphrase } => match passphrase {
330+ EntropySourceConfig :: Bip39Mnemonic { mnemonic, passphrase } => match passphrase {
330331 Some ( passphrase) => mnemonic. to_seed ( passphrase) ,
331332 None => mnemonic. to_seed ( "" ) ,
332333 } ,
You can’t perform that action at this time.
0 commit comments