diff --git a/wallet/core/src/runtime/wallet.rs b/wallet/core/src/runtime/wallet.rs index fc5e77b7e..863a19de0 100644 --- a/wallet/core/src/runtime/wallet.rs +++ b/wallet/core/src/runtime/wallet.rs @@ -740,8 +740,9 @@ impl Wallet { let account: Arc = match account_kind { AccountKind::Bip32 => { - let xpub_keys = Arc::new(vec![]); let account_index = 0; + let xpub_key = prv_key_data.create_xpub(payment_secret, account_kind, account_index).await?; + let xpub_keys = Arc::new(vec![xpub_key.to_string(Some(kaspa_bip32::Prefix::KPUB))]); let ecdsa = false; // ---