Skip to content

Commit

Permalink
Merge pull request #432 from Cypherock/fix/evm-flow-status
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-cyph authored Oct 26, 2023
2 parents 74e09ac + 57c7aae commit d533b88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/evm_family/evm_sign_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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));
Expand Down

0 comments on commit d533b88

Please sign in to comment.