Renamed EIP-712 UI function

This commit is contained in:
Alexandre Paillier
2022-06-24 18:12:07 +02:00
parent 9884fadefc
commit d8321d422d
3 changed files with 3 additions and 3 deletions

View File

@@ -429,7 +429,7 @@ bool handle_eip712_struct_impl(const uint8_t *const apdu_buf)
{
if (N_storage.verbose_eip712)
{
ui_712_new_struct(path_get_root());
ui_712_review_struct(path_get_root());
reply_apdu = false;
}
ui_712_field_flags_reset();

View File

@@ -159,7 +159,7 @@ void ui_712_next_field(void)
*
* @param[in] struct_ptr pointer to the structure
*/
void ui_712_new_struct(const void *const struct_ptr)
void ui_712_review_struct(const void *const struct_ptr)
{
const char *struct_name;
uint8_t struct_name_length;

View File

@@ -33,7 +33,7 @@ typedef struct
bool ui_712_init(void);
void ui_712_deinit(void);
void ui_712_next_field(void);
void ui_712_new_struct(const void *const struct_ptr);
void ui_712_review_struct(const void *const struct_ptr);
void ui_712_new_field(const void *const field_ptr, const uint8_t *const data, uint8_t length);
void ui_712_end_sign(void);
unsigned int ui_712_approve(const bagl_element_t *e);