Skip to content

Commit 69d171c

Browse files
Replace all Blind Signind screens by the Gated version
1 parent 6d5eb56 commit 69d171c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/features/signMessageEIP712_common/common_712.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,8 @@ void ui_712_start(e_eip712_filtering_mode filtering) {
9999
if (filtering == EIP712_FILTERING_BASIC) {
100100
// If the user has requested a filtered view, we will not show the warning
101101
warning.predefinedSet |= SET_BIT(BLIND_SIGNING_WARN);
102+
#ifdef HAVE_GATING_SUPPORT
103+
warning.predefinedSet |= SET_BIT(GATED_SIGNING_WARN);
104+
#endif
102105
}
103106
}

src/nbgl/ui_approve_tx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ uint16_t ux_approve_tx(bool fromPlugin) {
438438
if (tmpContent.txContent.dataPresent) {
439439
warning.predefinedSet |= SET_BIT(BLIND_SIGNING_WARN);
440440
#ifdef HAVE_GATING_SUPPORT
441+
warning.predefinedSet |= SET_BIT(GATED_SIGNING_WARN);
441442
if (set_gating_warning(tmpContent.txContent.destination) == false) {
442443
return SWO_INCORRECT_DATA;
443444
}

0 commit comments

Comments
 (0)