1. fix avax receive path display 2. fix warning
What changed, and why it matters
This commit fixes two minor UI issues. First, it corrects the displayed text for an Avalanche (AVAX) wallet derivation path so the placeholder for the account number is shown inside single quotes (X') instead of outside them, matching the actual BIP-44 path format. Second, it cleans up an incorrect include guard in a header file that was using the wrong macro name and an extra unnecessary #endif. Neither change affects security.
No security action required. Treat as a normal UI/text fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff contains two non-security fixes in UI/widget code. In gui_multi_path_coin_receive_widgets.c, the AVAX path subtitle string is changed from ‘m/44’/9000’/#F5870A X#/0/0’ to ‘m/44’/9000’/#F5870A X’#/0/0’, correcting the visual placement of the account placeholder relative to the hardened 9000’ component. In gui_check_delete_wallet_widgets.h, the include guard is corrected from a nested, misnamed WEB3_VERSION/_GUI_UPDATE_SUCCESS_WIDGETS_H guard to a proper _GUI_CHECK_DELETE_WALLET_WIDGETS_H guard. No cryptographic, memory-safety, or access-control changes are present.
Changed components
src/ui/gui_widgets/multi/web3/gui_multi_path_coin_receive_widgets.csrc/ui/gui_widgets/gui_check_delete_wallet_widgets.hInspect captured patch +3 / −6
diff --git a/src/ui/gui_widgets/gui_check_delete_wallet_widgets.h b/src/ui/gui_widgets/gui_check_delete_wallet_widgets.h
index 871aa7b..c798559 100644
--- a/src/ui/gui_widgets/gui_check_delete_wallet_widgets.h
+++ b/src/ui/gui_widgets/gui_check_delete_wallet_widgets.h
@@ -1,6 +1,5 @@
-#ifndef WEB3_VERSION
-#ifndef _GUI_UPDATE_SUCCESS_WIDGETS_H
-#define _GUI_UPDATE_SUCCESS_WIDGETS_H
+#ifndef _GUI_CHECK_DELETE_WALLET_WIDGETS_H
+#define _GUI_CHECK_DELETE_WALLET_WIDGETS_H
#include "stdint.h"
#include "stdbool.h"
@@ -9,6 +8,4 @@ void GuiCheckDeleteWalletInit(void);
void GuiCheckDeleteWalletDeInit(void);
void GuiDelWalletToSetup(void);
-#endif
-
#endif
\ No newline at end of file
diff --git a/src/ui/gui_widgets/multi/web3/gui_multi_path_coin_receive_widgets.c b/src/ui/gui_widgets/multi/web3/gui_multi_path_coin_receive_widgets.c
index 76c6305..d8799cc 100644
--- a/src/ui/gui_widgets/multi/web3/gui_multi_path_coin_receive_widgets.c
+++ b/src/ui/gui_widgets/multi/web3/gui_multi_path_coin_receive_widgets.c
@@ -1138,7 +1138,7 @@ static void GetAvaxPathItemSubTittle(char* subTitle, int index, uint32_t maxLen)
strcpy_s(subTitle, maxLen, "m/44'/60'/0'/0/#F5870A X#");
break;
case 1:
- strcpy_s(subTitle, maxLen, "m/44'/9000'/#F5870A X#/0/0");
+ strcpy_s(subTitle, maxLen, "m/44'/9000'/#F5870A X'#/0/0");
break;
default:
break;
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.