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

NBGL usage improvment #6

Open
xchapron-ledger opened this issue Feb 22, 2024 · 0 comments
Open

NBGL usage improvment #6

xchapron-ledger opened this issue Feb 22, 2024 · 0 comments
Assignees

Comments

@xchapron-ledger
Copy link

Hello @chris124567, just wanted to let you known that now there is a force_page_start parameter https://github.com/LedgerHQ/ledger-secure-sdk/blob/master/lib_nbgl/include/nbgl_content.h#L108 that can be used to do what you need to do here:
https://github.com/SiaFoundation/app-sia-x/blob/master/src/calcTxnHash_nbgl.c
That should allow you to use nbgl_useCaseStaticReview (with the callback: https://github.com/LedgerHQ/ledger-secure-sdk/blob/master/lib_nbgl/include/nbgl_content.h#L126) instead of nbgl_useCaseRegularReview which is not recommended.

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

No branches or pull requests

2 participants