Skip to content

Commit

Permalink
Remove filters counter check at the end of EIP712 flow
Browse files Browse the repository at this point in the history
  • Loading branch information
apaillier-ledger committed May 20, 2024
1 parent e434173 commit c17e06b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src_features/signMessageEIP712/commands_712.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,6 @@ bool handle_eip712_sign(const uint8_t *const apdu_buf) {
sizeof(tmpCtx.messageSigningContext712.messageHash)) ||
(path_get_field() != NULL)) {
apdu_response_code = APDU_RESPONSE_CONDITION_NOT_SATISFIED;
} else if ((ui_712_get_filtering_mode() == EIP712_FILTERING_FULL) &&
(ui_712_remaining_filters() != 0)) {
PRINTF("%d EIP712 filters are missing\n", ui_712_remaining_filters());
apdu_response_code = APDU_RESPONSE_REF_DATA_NOT_FOUND;
} else if (parseBip32(&apdu_buf[OFFSET_CDATA], &length, &tmpCtx.messageSigningContext.bip32) !=
NULL) {
if (!N_storage.verbose_eip712 && (ui_712_get_filtering_mode() == EIP712_FILTERING_BASIC)) {
Expand Down

0 comments on commit c17e06b

Please sign in to comment.