Skip to content

Commit

Permalink
Merge branch 'develop' into feat/LDG-651-implement-method-redeem
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven2505 authored Jan 22, 2025
2 parents 2ffaa18 + f9d278a commit f82778c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/handle_provide_parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ static void handle_honey_functions(ethPluginProvideParameter_t *msg, context_t *
context->next_param = MIN_AMOUNT_RECEIVED;
break;
case MIN_AMOUNT_RECEIVED:
copy_parameter(context->amount_received,
msg->parameter,
copy_parameter(context->amount_received,
msg->parameter,
sizeof(context->amount_received));
context->next_param = BENEFICIARY;
break;
Expand Down Expand Up @@ -55,7 +55,6 @@ void handle_provide_parameter(ethPluginProvideParameter_t *msg) {
msg->parameterOffset,
PARAMETER_LENGTH,
msg->parameter);

msg->result = ETH_PLUGIN_RESULT_OK;

// EDIT THIS: adapt the cases and the names of the functions.
Expand Down

0 comments on commit f82778c

Please sign in to comment.