Skip to content

Conversation

@matthewbauer
Copy link
Collaborator

ledger-app-dune has some changes on to the app that we are able to incorporate. This adds some changes.

Repo URL is https://gitlab.com/dune-network/ledger-app-dune

src/main.c Outdated
global.handlers[APDU_INS(INS_GET_PUBLIC_KEY)] = handle_apdu_get_public_key;
global.handlers[APDU_INS(INS_PROMPT_PUBLIC_KEY)] = handle_apdu_get_public_key;
global.handlers[APDU_INS(INS_SIGN)] = handle_apdu_sign;
global.handlers[APDU_INS(INS_SIGN)] = handle_apdu;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe handle_apdu_sign would be better name? This name doesn't specify what kind of APDU instruction it handles.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that would be better

This is a more clear name than just handle_apdu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants