diff --git a/lib/src/lightwallet.rs b/lib/src/lightwallet.rs index 6e56ca0..a8cd4c5 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -471,9 +471,7 @@ impl LightWallet { } // Add a new Sietch Addr. This will derive a new zdust address from the seed pub fn add_zaddrdust(&self) -> String { - if !self.unlocked { - return "".to_string(); - } + let pos = self.extsks.read().unwrap().len() as u32;