Fix io_exchange exception

Was trying to reply to EIP712 ARRAY size APDU twice
This commit is contained in:
Alexandre Paillier
2022-06-24 11:25:13 +02:00
parent 447e7b9277
commit ca37612f61
2 changed files with 5 additions and 6 deletions

View File

@@ -496,9 +496,6 @@ bool path_new_array_depth(uint8_t size)
cx_keccak_init(hash_ctx, 256); // init hash
}
G_io_apdu_buffer[0] = 0x90;
G_io_apdu_buffer[1] = 0x00;
io_exchange(CHANNEL_APDU | IO_RETURN_AFTER_TX, 2);
return true;
}