Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set proper flow status in ecnryption flow #591

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/inheritance_app/inheritance_decrypt_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static void decryption_handle_errors() {
if (decryption_error.type == DECRYPTION_OK) {
return;
}
LOG_ERROR("inheritance_encrypt_data Error Code:%d Flow Tag:%d ",
LOG_ERROR("inheritance_decrypt_data Error Code:%d Flow Tag:%d ",
decryption_error.type,
decryption_error.flow);
decryption_error_type_e type = decryption_error.type;
Expand Down
2 changes: 2 additions & 0 deletions apps/inheritance_app/inheritance_encrypt_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ static bool encrypt_data(void) {
status = false;
break;
}
set_app_flow_status(INHERITANCE_ENCRYPT_DATA_STATUS_PIN_ENTERED);
vrockz747 marked this conversation as resolved.
Show resolved Hide resolved

if (!serialize_message_data()) {
status = false;
Expand All @@ -673,6 +674,7 @@ static bool encrypt_data(void) {
status = false;
break;
}
set_app_flow_status(INHERITANCE_ENCRYPT_DATA_STATUS_MESSAGE_ENCRYPTED);
vrockz747 marked this conversation as resolved.
Show resolved Hide resolved

if (!serialize_packet()) {
status = false;
Expand Down
Loading