Skip to content

Commit

Permalink
Updated the wording on the warning screen for blind signing
Browse files Browse the repository at this point in the history
  • Loading branch information
apaillier-ledger committed Aug 13, 2024
1 parent b48130d commit c6ff915
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib_nbgl/src/nbgl_use_case.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,18 +1142,16 @@ static void displayBlindWarning(nbgl_opType_t opType)
.backAndText.text = NULL};
nbgl_layoutCenteredInfo_t centeredInfo
= {.icon = NULL, .text3 = NULL, .style = LARGE_CASE_INFO, .offsetY = 0, .onTop = false};
centeredInfo.text1 = "Security risk detected";
if (opType == TYPE_TRANSACTION) {
centeredInfo.text1 = "This transaction cannot be trusted";
centeredInfo.text2
= "Your Ledger cannot decode this transaction. If you sign it, you could be "
"authorizing "
= "This transaction cannot be fully decoded. If you sign it, you could be authorizing "
"malicious actions that can drain your wallet.\n\n"
"Learn more: ledger.com/e8";
}
else {
centeredInfo.text1 = "This message cannot be trusted";
centeredInfo.text2
= "Your Ledger cannot decode this message. If you sign it, you could be authorizing "
= "This message cannot be fully decoded. If you sign it, you could be authorizing "
"malicious actions that can drain your wallet.\n\n"
"Learn more: ledger.com/e8";
}
Expand Down

0 comments on commit c6ff915

Please sign in to comment.