diff --git a/src/apdu_pubkey.h b/src/apdu_pubkey.h index c157a5f3..e2514daa 100644 --- a/src/apdu_pubkey.h +++ b/src/apdu_pubkey.h @@ -4,7 +4,4 @@ size_t handle_apdu_get_public_key(uint8_t instruction, volatile uint32_t* flags); -void prompt_address( - bool baking, - ui_callback_t ok_cb, - ui_callback_t cxl_cb); +void prompt_address(bool baking, ui_callback_t ok_cb, ui_callback_t cxl_cb); diff --git a/src/ui_pubkey_bagl.c b/src/ui_pubkey_bagl.c index 29b337ad..783b42be 100644 --- a/src/ui_pubkey_bagl.c +++ b/src/ui_pubkey_bagl.c @@ -14,10 +14,9 @@ #include -__attribute__((noreturn)) void prompt_address( - bool baking, - ui_callback_t ok_cb, - ui_callback_t cxl_cb) { +__attribute__((noreturn)) void prompt_address(bool baking, + ui_callback_t ok_cb, + ui_callback_t cxl_cb) { init_screen_stack(); #ifdef BAKING_APP diff --git a/src/ui_pubkey_nbgl.c b/src/ui_pubkey_nbgl.c index 86977c8d..ef5d6500 100644 --- a/src/ui_pubkey_nbgl.c +++ b/src/ui_pubkey_nbgl.c @@ -47,11 +47,7 @@ static void verify_address(void) { nbgl_useCaseAddressConfirmation(transactionContext.buffer, confirmation_callback); } -void prompt_address( - bool baking, - ui_callback_t ok_cb, - ui_callback_t cxl_cb) { - +void prompt_address(bool baking, ui_callback_t ok_cb, ui_callback_t cxl_cb) { transactionContext.ok_cb = ok_cb; transactionContext.cxl_cb = cxl_cb;