From 8d5350e500d0bb66bb8d6dfdaf6daa9b48524bcc Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Tue, 1 Oct 2019 17:33:02 -0700 Subject: [PATCH] Fix config during construction --- src/lightwallet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightwallet/mod.rs b/src/lightwallet/mod.rs index 180a7f2..d799f6e 100644 --- a/src/lightwallet/mod.rs +++ b/src/lightwallet/mod.rs @@ -181,7 +181,7 @@ impl LightWallet { // Derive only the first address // TODO: We need to monitor addresses, and always keep 1 "free" address, so // users can import a seed phrase and automatically get all used addresses - let (extsk, extfvk, address) = LightWallet::get_pk_from_bip39seed(&bip39_seed.as_bytes()); + let (extsk, extfvk, address) = LightWallet::get_pk_from_bip39seed(config.clone(), &bip39_seed.as_bytes()); Ok(LightWallet { seed: seed_bytes,