Skip to content

Commit

Permalink
Always return to main menu at the end of get_wallet_address
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspider committed Sep 9, 2024
1 parent ec81a03 commit fe39141
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/handler/get_wallet_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,10 @@ void handler_get_wallet_address(dispatcher_context_t *dc, uint8_t protocol_versi
}

SEND_RESPONSE(dc, address, address_len, SW_OK);

// Workaround for a glitch when get_wallet_address is called right after a UX flow that has
// a long confirmation screen (e.g. register_wallet), as processing this command sometimes
// lead to the "Processing..." screen not being cleared at the end of the command.
ui_menu_main();
}
}

0 comments on commit fe39141

Please sign in to comment.