Skip to content
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

Add some changes from Dune #101

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Add some changes from Dune #101

wants to merge 4 commits into from

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
@@ -16,9 +16,9 @@ void app_main(void) {
global.handlers[APDU_INS(INS_VERSION)] = handle_apdu_version;
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.

None yet

2 participants