Skip to content

Commit

Permalink
Merge pull request #748 from LedgerHQ/blind_signing_wording_cherry_pi…
Browse files Browse the repository at this point in the history
…ck_21

API level 21 cherry-pick for blind signing wording
  • Loading branch information
apaillier-ledger authored Aug 13, 2024
2 parents 7d8814c + b4213a1 commit 0557ced
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 @@ -1137,18 +1137,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 0557ced

Please sign in to comment.