Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use private key for HD wallets #1934

Open
smk762 opened this issue Aug 9, 2023 · 1 comment
Open

Unable to use private key for HD wallets #1934

smk762 opened this issue Aug 9, 2023 · 1 comment
Assignees

Comments

@smk762
Copy link

smk762 commented Aug 9, 2023

Describe the bug
I tried using a KMD private key in MM2.json as below:

{
    "gui": "MM2CLI",
    "netid": 8762,
    "seednodes": ["seed15.komodo.earth", "seed16.komodo.earth"],
    "rpc_password": "RPC_CONTRoL_USERP@SSW0RD",
    "hd_account_id": 0,
    "passphrase": "UqMgxk7ySPNQ4r9nKAFPjkXy6r5t898yhuNCjSZJLg3RAM4WW1m9"
}

And had the following response in logs when attempting to launch ./mm2:

09 12:04:53, mm2:266] AtomicDEX API 1.0.6-beta_33ba72f DT 2023-08-07T13:20:03+03:00
09 12:04:53, mm2_main::mm2::lp_native_dex:425] INFO Version: 1.0.6-beta_33ba72f DT 2023-08-07T13:20:03+03:00
09 12:04:53, mm2_core::mm_ctx:353] INFO MmCtx (2953133215) has been dropped
09 12:04:53, log:1028] LogState] Bye!
09 12:04:53, mm2:269] mm2:340] mm2:145] lp_native_dex:435] global_hd_ctx:35] privkey:120] Invalid passphrase: Error parsing passphrase: invalid word in phrase

Likely this is because the private key is not in the bip39 wordlist. Is it possible to allow using valid private keys?

@shamardy
Copy link
Collaborator

Thanks for opening the issue. Will investigate this as part of the HD wallet fixes #1838

@shamardy shamardy self-assigned this Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants