Add back the call to ui_idle in case of EIP712 failure

Was removed during the Stax porting
This commit is contained in:
Alexandre Paillier
2023-06-30 13:42:56 +02:00
parent f0df04a91e
commit 6a04c14df0

View File

@@ -13,7 +13,8 @@
#include "schema_hash.h"
#include "filtering.h"
#include "common_712.h"
#include "ethUtils.h" // allzeroes
#include "ethUtils.h" // allzeroes
#include "common_ui.h" // ui_idle
/**
* Send the response to the previous APDU command
@@ -38,6 +39,7 @@ void handle_eip712_return_code(bool success) {
if (!success) {
eip712_context_deinit();
ui_idle();
}
}