We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Discovered originally in #8626. When importing a testnet account the coin type in the derivation path is incorrect, indicating mainnet.
ie. derivation path is incorrectly set to m/84'/0'/'0' instead of m/84'/1'/'0'.
m/84'/0'/'0'
m/84'/1'/'0'
This causes external signers to throw errors when attempting to sign PSBTs generated with FundPsbt.
FundPsbt
I suspect the issue persists with signet accounts too.
Import xpub (tpub/vpub) from external witness pubkey hash testnet account using the ImportAccount endpoint.
ImportAccount
Derivation should be set to m/84'/1'/'0'.
Derivation path is incorrectly set to m/84'/0'/'0'.
The text was updated successfully, but these errors were encountered:
This likely needs to be fixed in btcwallet, but I guess there's also some change in lnd needed.
btcwallet
lnd
Sorry, something went wrong.
I believe you're correct. I write some cursory tests in btcwallet using testnet tpubs and the coin type was getting set correctly.
No branches or pull requests
Background
Discovered originally in #8626. When importing a testnet account the coin type in the derivation path is incorrect, indicating mainnet.
ie. derivation path is incorrectly set to
m/84'/0'/'0'
instead ofm/84'/1'/'0'
.This causes external signers to throw errors when attempting to sign PSBTs generated with
FundPsbt
.I suspect the issue persists with signet accounts too.
Your environment
Steps to reproduce
Import xpub (tpub/vpub) from external witness pubkey hash testnet account using the
ImportAccount
endpoint.Expected behaviour
Derivation should be set to
m/84'/1'/'0'
.Actual behaviour
Derivation path is incorrectly set to
m/84'/0'/'0'
.The text was updated successfully, but these errors were encountered: