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
implement Zpub-s for multisig GetAddress #1415
Conversation
582dbbe
to
7bf568e
Compare
what is the usecase for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tentative approve, code LGTM
So client can select whether they want to show multisig xpubs with Essentially the same logic I introduced in GetPublicKey for descriptors usecase. Maybe we might want to rename |
330eebd
to
e9f884b
Compare
e9f884b
to
1bd9c3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Electrum:
- create 2of2 p2wsh m/48'/0'/0'/2' wallet using 2xTT
- create payment request in Receive tab
- clicking on the eye icon, TT displays address, QR code, and the public keys in Zpub format
- public keys equal those in Wallet>Information window
Changes LGTM, dunno why the cardano tests fail.
1bd9c3e
to
b59fb36
Compare
Rebased and force pushed - if the tests will be green again, we can merge |
I just tried this in electrum with the Trezor One and the eye icon fails to display. I don't know if there's another way to get the Trezor One to display its Zpub. |
Are you using multisig or not? |
I am |
Will you please open an issue in the Electrum repository - https://github.com/spesmilo/electrum? Thanks! |
This builds on top of PR #1420 so that needs to be merged first!
Fixes #855 (first bug out of two, the second one has been fixed already) - reported here: https://twitter.com/_benma_/status/1227900614505566208