Remove useless flag NO_CONSENT
This commit is contained in:
@@ -60,15 +60,10 @@ void handleGetPublicKey(uint8_t p1,
|
||||
THROW(APDU_RESPONSE_INVALID_DATA);
|
||||
}
|
||||
|
||||
#ifndef NO_CONSENT
|
||||
if (p1 == P1_NON_CONFIRM)
|
||||
#endif // NO_CONSENT
|
||||
{
|
||||
if (p1 == P1_NON_CONFIRM) {
|
||||
*tx = set_result_get_publicKey();
|
||||
THROW(APDU_RESPONSE_OK);
|
||||
}
|
||||
#ifndef NO_CONSENT
|
||||
else {
|
||||
} else {
|
||||
snprintf(strings.common.fullAddress,
|
||||
sizeof(strings.common.fullAddress),
|
||||
"0x%.*s",
|
||||
@@ -79,5 +74,4 @@ void handleGetPublicKey(uint8_t p1,
|
||||
|
||||
*flags |= IO_ASYNCH_REPLY;
|
||||
}
|
||||
#endif // NO_CONSENT
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user