question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ledger nano s showing "Warning !" when trying to sign transaction using electrum: unusual BIP32 change path 49'/0'/0'/0/0 should be 49'/0'/0'/1/0

See original GitHub issue

Electrum is using “unusual BIP32 change path” 49'/0'/0'/0/0 but should be using 49'/0'/0'/1/0 according to jean-ledger Ledger Engineer.

  • 49'/0'/0'/0/0
  • 49'/0'/0'/1/0

This results in ledger showing Warning ! which is then non-obvious to proceed (press both ledger buttons). Without asking ledger support, I wouldn’t have known if it is safe to proceed.

This is a summary. The full bug report was originally posted ledger’s reddit, you can find it here: https://www.reddit.com/r/ledgerwallet/comments/b8vf3z/ledger_nano_s_showing_warning_and_freezing_when/

I am just a user so I don’t know if this should be fixed in ledger and/or electrum. Please consider joining the technical discussion on reddit or perhaps the ledger engineer can join the discussion here so this can be sorted among the two involved projects.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jhoenickecommented, Jan 28, 2020

If the “use change address” box is unchecked, the change is send to the first input address (address reuse). This part is expected behavior. The change output is used in any case; if you would remove this output, it would be a donation to the miner.

Now in your first case the change address 48’/0’/0’/2’/1/3 uses the right path. The “/1/” indicates it uses a change address. I guess the algorithm that Ledger uses to determine whether a change address is fine is too restrictive in this case. They probably erred on the side of giving too many warnings. Maybe they don’t accept derivation paths with unusual length (6 instead of 5).

Handling of change addresses in multisig setup is always a bit tricky. You don’t want that the change goes to a different wallet or even is under the control of different signers. For a hardware wallet it is better to err on the side of too many warnings, than to silently send the change to a 1 of 2 multisig where the second key is owned by someone else (some very early firmware of Trezor had this bug).

If you sign it on the Trezor, does it work there, or does it explicitly ask you to confirm the change output? I think it should work as the path matches what the Trezor is expecting.

0reactions
craig5999commented, Feb 5, 2020

Have you changed the derivation path for the Ledger signer in the new multisig wallet you created

No, I used the same (m/48’/0’/0’/2’).

or only the passphrase (I assume you mean passphrase in the BIP39 hmac salt sense)?

I’m not quite sure what this means… but probably yes. Adding the extra passphrase. Ledger gives the option to tie it to a PIN or set it temporarily.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sign or derivation path is unusual - Ledger Support
A new message The derivation path is unusual is shown when exporting public keys for a Bitcoin derivative that does not respect the...
Read more >
Using Ledger on Electrum - "the sign path is unusual"
Ledger enforces a check on the derivation path, which means that if the software asks Electrum to sign a transaction using keys from...
Read more >
ledger nano s showing "Warning !" and freezing when trying to ...
When trying to sign a transaction my ledger nano s is… ... measure to tell you that the change is going to be...
Read more >
Fix Ledger Nano No Confirmation to Sign Transaction With ...
In this video I will talk about how to fix the problem of your ledger not showing you a confirmation to sign a...
Read more >
How To Fix Nano Ledger Not Approving Transactions - YouTube
How To Fix Nano Ledger Not Approving TransactionsJoin our private membership group here;https://learn.techtipstogo.com/offers/hataVwDQGet ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found