Skip to content

Commit

Permalink
fix(clean): fix parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilaneDen authored Mar 8, 2023
1 parent 6a58527 commit a80dc78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/apwine_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ extern const contract_address_future_vault_t
#define PAIR_PATH_LAST 8
#define TOKEN_PATH_SENT 9
#define TOKEN_PATH_RECEIVED 10
#define NONE 11

// Number of decimals used when the token wasn't found in the CAL.
#define DEFAULT_DECIMAL WEI_TO_ETHER
Expand Down
1 change: 1 addition & 0 deletions src/handle_provide_parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ static void handle_zapintopt(ethPluginProvideParameter_t *msg, apwine_parameters
break;
case AMOUNT_RECEIVED: // _inputs[0]
handle_amount_received(msg, context);
context->skip++; // skip _inputs[1]
// When all parameters are parsed
context->valid = 1;
break;
Expand Down

0 comments on commit a80dc78

Please sign in to comment.