Skip to content

Commit

Permalink
move case
Browse files Browse the repository at this point in the history
  • Loading branch information
abenso committed Jan 23, 2025
1 parent efe9604 commit 833000b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/src/parser_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,14 @@ zxerr_t compute_action_hash(action_t *action, bytes_t *memo_key, hash_t *output)
return zxerr_encoding_failed;
}
break;
case penumbra_core_transaction_v1_ActionPlan_ics20_withdrawal_tag:
if (rs_generic_action_hash(&action->action_data, action->action_type, (uint8_t *)output, 64) != parser_ok) {
return zxerr_encoding_failed;
}
break;
#if defined(FULL_APP)
case penumbra_core_transaction_v1_ActionPlan_swap_tag:
if (rs_swap_action_hash(&action->action.swap, (uint8_t *)output, 64) != parser_ok) {
return zxerr_encoding_failed;
}
break;
#endif
case penumbra_core_transaction_v1_ActionPlan_ics20_withdrawal_tag:
case penumbra_core_transaction_v1_ActionPlan_delegate_tag:
case penumbra_core_transaction_v1_ActionPlan_undelegate_tag:
case penumbra_core_transaction_v1_ActionPlan_position_open_tag:
Expand Down

0 comments on commit 833000b

Please sign in to comment.