Skip to content

Commit

Permalink
handle address improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
chcmedeiros committed Jan 13, 2025
1 parent 8d49d0a commit 9e52e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/swap/handle_check_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


void handle_check_address(check_address_parameters_t *params) {
if (params == NULL || params->address_to_check == 0) {
if (params == NULL || params->address_to_check == NULL) {
return;
}

Expand All @@ -41,7 +41,7 @@ void handle_check_address(check_address_parameters_t *params) {
}

for (uint32_t i = 0; i < HDPATH_LEN_DEFAULT; i++) {
readU32BE(params->address_parameters + 2 + (i * 4), &bip32_path[i]);
readU32BE(params->address_parameters + 1 + (i * 4), &bip32_path[i]);
}

char address_computed[100] = {0};
Expand Down

0 comments on commit 9e52e74

Please sign in to comment.