diff --git a/rs_lib/pkg/lucid_core_bg.wasm b/rs_lib/pkg/lucid_core_bg.wasm index 8c025ace..8f49c691 100644 Binary files a/rs_lib/pkg/lucid_core_bg.wasm and b/rs_lib/pkg/lucid_core_bg.wasm differ diff --git a/rs_lib/src/crypto.rs b/rs_lib/src/crypto.rs index 715393aa..770d3b77 100644 --- a/rs_lib/src/crypto.rs +++ b/rs_lib/src/crypto.rs @@ -80,6 +80,7 @@ impl Crypto { pub fn seed_to_xpub(seed: &str, index: u32) -> CoreResult { let bip32_priv = Bip32PrivateKey::from_bip39_mnenomic(seed.to_string(), "".to_string()) .map_err(CoreError::msg)?; + let account_key = bip32_priv .derive(harden(1852)) .derive(harden(1815)) diff --git a/rs_lib/src/utils.rs b/rs_lib/src/utils.rs index 288fdc9b..06fd0da3 100644 --- a/rs_lib/src/utils.rs +++ b/rs_lib/src/utils.rs @@ -67,6 +67,7 @@ impl Utils { } } } + #[cfg(test)] mod tests { use super::*;