Skip to content

Commit

Permalink
fix(ocv2): getEthDisplayableAddress buffer size / timeout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
loicttn committed Dec 13, 2024
1 parent ca2170d commit b3f91f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provide_parameter/ocv2.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void handle_v2_multiclaim(ethPluginProvideParameter_t *msg, context_t *context)
case V2_MULTICLAIM_EXIT_QUEUES__ITEMS: {
uint8_t buffer[ADDRESS_LENGTH];
copy_address(buffer, msg->parameter, sizeof(buffer));
char address_buffer[ADDRESS_STR_LEN];
char address_buffer[ADDRESS_STR_LEN + 1];
getEthDisplayableAddress(buffer, address_buffer, sizeof(address_buffer), 0);
// we add a check to make sure we know the exit queue addresses
// that will be called in the multiclaim tx
Expand Down

0 comments on commit b3f91f0

Please sign in to comment.