Skip to content

Commit

Permalink
wallet import issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
surinder83singh committed Oct 5, 2023
1 parent 222ae83 commit 5543d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wallet/core/src/runtime/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,9 @@ impl Wallet {

let account: Arc<dyn Account> = 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;
// ---

Expand Down

0 comments on commit 5543d1f

Please sign in to comment.