EIP-712 hidden fields now share the shown fields logic

This commit is contained in:
Alexandre Paillier
2022-06-27 09:53:28 +02:00
parent d8321d422d
commit 1a4149e836

View File

@@ -75,9 +75,7 @@ void ui_712_finalize_field(void)
{
if (!ui_712_field_shown())
{
G_io_apdu_buffer[0] = 0x90;
G_io_apdu_buffer[1] = 0x00;
io_exchange(CHANNEL_APDU | IO_RETURN_AFTER_TX, 2);
ui_712_next_field();
}
ui_712_field_flags_reset();
}