From 57c7aae5d085ef2a1c5182e9f512da40f01ddbfd Mon Sep 17 00:00:00 2001 From: Ujjwal Kumar <31813384+Ujjwal0501@users.noreply.github.com> Date: Wed, 25 Oct 2023 19:44:44 +0530 Subject: [PATCH] fix (evm): Send missing status updates to host --- apps/evm_family/evm_sign_txn.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/evm_family/evm_sign_txn.c b/apps/evm_family/evm_sign_txn.c index 613f40bb..e37b95f0 100644 --- a/apps/evm_family/evm_sign_txn.c +++ b/apps/evm_family/evm_sign_txn.c @@ -361,6 +361,10 @@ STATIC bool get_user_verification() { // cannot reach; should be caught already break; } + + if (status) { + set_app_flow_status(EVM_SIGN_TXN_STATUS_VERIFY); + } return status; } @@ -378,6 +382,8 @@ static bool sign_transaction(evm_sign_txn_signature_response_t *sig) { return status; } + set_app_flow_status(EVM_SIGN_TXN_STATUS_SEED_GENERATED); + status = derive_hdnode_from_path(hd_path, depth, SECP256K1_NAME, buffer, &node); memzero(buffer, sizeof(buffer));