From 60a5c47bb9037c44d9f302976bda454135a6832c Mon Sep 17 00:00:00 2001 From: benk10 Date: Tue, 29 Apr 2025 19:07:09 +0300 Subject: [PATCH] Fix missing m in derivations --- src-tauri/src/device.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src-tauri/src/device.rs b/src-tauri/src/device.rs index 40610db..865976e 100644 --- a/src-tauri/src/device.rs +++ b/src-tauri/src/device.rs @@ -30,11 +30,11 @@ pub fn get_xpubs( } Ok(json!({ - "singleSigPath": ss_path.to_string(), + "singleSigPath": format!("m/{}", ss_path.to_string()), "singleSigXpub": single_sig_xpub.to_string(), - "multiSigPath": ms_path.to_string(), + "multiSigPath": format!("m/{}", ms_path.to_string()), "multiSigXpub": multi_sig_xpub.to_string(), - "taprootPath": tr_path.to_string(), + "taprootPath": format!("m/{}", tr_path.to_string()), "taprootXpub": taproot_xpub.to_string(), "mfp": hwi_state.fingerprint.as_ref().unwrap().to_string().to_uppercase(), }))