-
Notifications
You must be signed in to change notification settings - Fork 143
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
feat: add rpc-get-xpub method #5203
base: dev
Are you sure you want to change the base?
Conversation
2862ba1
to
b5a5c83
Compare
b5a5c83
to
5fbb877
Compare
origin, | ||
onUserApproveGetXpub() { | ||
if (!tabId || !origin) { | ||
logger.error('Cannot give app accounts: missing tabId, origin'); |
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.
This logged error doesn't seem to have the right message, was this just copied?
Adding link to original PR here for ref: #4958 |
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.
Code here looks good, the UX on this should still stay as just Connect Leather
with no indication that the xpub is being requested?
cc/ @mica000 @fabric-8 @markmhendrickson This is a good point to raise. Currently the UI for this looks the same, but we should explain to the user what sharing their xpub means. |
This is a new API, and not additional functionality for Let's capture in the APIs database in Notion and design an approval UX for this particular request, since I agree we need to indicate clearly what it means to the user. |
Clone of xpub pr