Skip to content

Commit

Permalink
change long to int
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jan 22, 2025
1 parent 91f5162 commit b2eec2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void onIncomingMessage(
startSlot);

final SpecConfigDeneb specConfig = SpecConfigDeneb.required(spec.atSlot(endSlot).getConfig());
final long requestedCount = calculateRequestedCount(message, specConfig.getMaxBlobsPerBlock());
final int requestedCount = calculateRequestedCount(message, specConfig.getMaxBlobsPerBlock());

final Optional<RequestApproval> blobSidecarsRequestApproval =
peer.approveBlobSidecarsRequest(callback, requestedCount);
Expand Down

0 comments on commit b2eec2a

Please sign in to comment.