Skip to content

Commit a217589

Browse files
Replace all Blind Signind screens by the Gated version
1 parent 9e9ae47 commit a217589

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
@@ -435,6 +435,7 @@ uint16_t ux_approve_tx(bool fromPlugin) {
435435
if (tmpContent.txContent.dataPresent) {
436436
warning.predefinedSet |= SET_BIT(BLIND_SIGNING_WARN);
437437
#ifdef HAVE_GATING_SUPPORT
438+
warning.predefinedSet |= SET_BIT(GATED_SIGNING_WARN);
438439
if (set_gating_warning() == false) {
439440
return SWO_INCORRECT_DATA;
440441
}

0 commit comments

Comments
 (0)