File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,8 @@ impl Builder {
259
259
pub fn set_entropy_bip39_mnemonic (
260
260
& mut self , mnemonic : bip39:: Mnemonic , passphrase : Option < String > ,
261
261
) -> & mut Self {
262
- self . entropy_source = Some ( WalletEntropySource :: Bip39Mnemonic { mnemonic, passphrase } ) ;
262
+ self . entropy_source_config =
263
+ Some ( EntropySourceConfig :: Bip39Mnemonic { mnemonic, passphrase } ) ;
263
264
self
264
265
}
265
266
@@ -326,7 +327,7 @@ impl Builder {
326
327
EntropySourceConfig :: SeedFile ( seed_path) => {
327
328
io:: utils:: read_or_generate_seed_file ( seed_path)
328
329
}
329
- WalletEntropySource :: Bip39Mnemonic { mnemonic, passphrase } => match passphrase {
330
+ EntropySourceConfig :: Bip39Mnemonic { mnemonic, passphrase } => match passphrase {
330
331
Some ( passphrase) => mnemonic. to_seed ( passphrase) ,
331
332
None => mnemonic. to_seed ( "" ) ,
332
333
} ,
You can’t perform that action at this time.
0 commit comments