Skip to content

Commit 170387c

Browse files
Removed pin-check from the sign function, since it is now applied to all APDUs by the SDK directly
1 parent 87a4791 commit 170387c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src_features/signTx/cmd_signTx.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ uint16_t handleSign(uint8_t p1,
1212
uint16_t sw = APDU_NO_RESPONSE;
1313
cx_err_t error = CX_INTERNAL_ERROR;
1414

15-
if (os_global_pin_is_validated() != BOLOS_UX_OK) {
16-
PRINTF("Device is PIN-locked");
17-
return APDU_RESPONSE_SECURITY_NOT_SATISFIED;
18-
}
1915
if (p1 == P1_FIRST) {
2016
if (appState != APP_STATE_IDLE) {
2117
reset_app_context();

0 commit comments

Comments
 (0)