Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrokonrad committed Feb 10, 2025
1 parent 7caeec6 commit eea3cfd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified rs_lib/pkg/lucid_core_bg.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions rs_lib/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ impl Crypto {
pub fn seed_to_xpub(seed: &str, index: u32) -> CoreResult<String> {
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))
Expand Down
1 change: 1 addition & 0 deletions rs_lib/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ impl Utils {
}
}
}

#[cfg(test)]
mod tests {
use super::*;
Expand Down

0 comments on commit eea3cfd

Please sign in to comment.