-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Ledger : Remove warning on Segwit inputs and newer Bitcoin application, use ge… #6293
Ledger : Remove warning on Segwit inputs and newer Bitcoin application, use ge… #6293
Conversation
…neric signing for P2SH inputs
I think it's worth it to just bump the min supported library version (and enforce it, now that you provide I have tested this with a Ledger Nano S with bitcoin app version 1.3.7 and 1.4.2, and it ~works. What does not work, and I think only with bitcoin app 1.4.2, is signing a segwit tx with multiple inputs. The device produces incorrect signatures. This should be unrelated from this PR I believe, and is probably a firmware (bitcoin app) bug.
(but a 1-input tx works) |
Besides that firmware bug, please take a look at the current state of the PR; and if you think it's ok, I will merge it. |
6bf82fb
to
20586b9
Compare
Thanks for the updates and tests. All look fine to me, you can bump the library requirement to 0.1.30 which provides a workaround for the issue you mentioned and merge |
and minor simplification
really slow to scan usb devices for e.g. every tx input... if user disconnects mid-signing, we would fail anyway.
20586b9
to
b042c41
Compare
Thanks. I confirm it's fixed with 0.1.30. |
…neric signing for P2SH inputs