Skip to content

Commit

Permalink
fix: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven2505 committed Jan 21, 2025
1 parent af0c64a commit d0c21bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/handle_provide_parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ static void handle_mint(ethPluginProvideParameter_t *msg, context_t *context) {
context->next_param = MIN_AMOUNT_RECEIVED;
break;
case MIN_AMOUNT_RECEIVED:
copy_parameter(context->amount_received, msg->parameter, sizeof(context->amount_received));
copy_parameter(context->amount_received,
msg->parameter,
sizeof(context->amount_received));
context->next_param = BENEFICIARY;
break;
case BENEFICIARY:
Expand Down
2 changes: 1 addition & 1 deletion src/handle_query_contract_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

// Set UI for "Receive" screen.
// EDIT THIS: Adapt / remove this function to your needs.
static bool set_receive_ui(ethQueryContractUI_t *msg, const context_t *context) {
static bool set_receive_ui(ethQueryContractUI_t *msg, const context_t *context) {
strlcpy(msg->title, "Amount", msg->titleLength);

uint8_t decimals = context->decimals;
Expand Down

0 comments on commit d0c21bf

Please sign in to comment.