Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4karia authored Apr 5, 2024
1 parent e011a53 commit a92d12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle_query_contract_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static void set_receive_2_ui(ethQueryContractUI_t *msg, plugin_parameters_t *con
// Utility function to print an address to the UI.
static void print_address(ethQueryContractUI_t *msg, uint8_t *address) {
if (msg == NULL || msg->msgLength <= MIN_MSG_LENGTH) {
return false;
return;
}
// Prefix the address with `0x`.
msg->msg[0] = '0';
Expand Down

0 comments on commit a92d12e

Please sign in to comment.