Fix compatibility with Stax 1.4.0

This commit is contained in:
Alexandre Paillier
2024-06-25 13:55:27 +02:00
parent cd563a21db
commit c2467d56bc

View File

@@ -175,9 +175,11 @@ static void reviewCommon(void) {
pairsList.pairs = pairs;
nbgl_operationType_t op = TYPE_TRANSACTION;
#if API_LEVEL >= 19
if (tmpContent.txContent.dataPresent) {
op |= BLIND_OPERATION;
}
#endif
if (tx_approval_context.fromPlugin) {
uint32_t buf_size = SHARED_BUFFER_SIZE / 2;
char op_name[sizeof(strings.common.fullAmount)];