Skip to content

Commit

Permalink
removes cast
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <[email protected]>
  • Loading branch information
jflo committed Oct 10, 2023
1 parent 228c433 commit b65f2b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ private int computeEIP1559MemorySize() {
}

private int computeBlobMemorySize() {
long blobsSize =
int blobsSize =
transaction.getBlobsWithCommitments().map(BlobsWithCommitments::getByteCount).orElse(0);
return computeEIP1559MemorySize() + (int) blobsSize;
return computeEIP1559MemorySize() + blobsSize;
}

private int computePayloadMemorySize() {
Expand Down

0 comments on commit b65f2b6

Please sign in to comment.