Open xchapron-ledger opened 4 months ago
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.
force_page_start
nbgl_useCaseStaticReview
nbgl_useCaseRegularReview
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 usenbgl_useCaseStaticReview
(with the callback: https://github.com/LedgerHQ/ledger-secure-sdk/blob/master/lib_nbgl/include/nbgl_content.h#L126) instead ofnbgl_useCaseRegularReview
which is not recommended.