Skip to content

Commit

Permalink
update for review
Browse files Browse the repository at this point in the history
Signed-off-by: Karim Taam <[email protected]>
  • Loading branch information
matkt committed Jan 23, 2025
1 parent d9df4ce commit aa7172d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static Bytes32 getCodeChunkKeyTrieIndex(final Bytes32 chunkId) {
return Bytes32.wrap(CODE_OFFSET.add(UInt256.fromBytes(chunkId)).divide(VERKLE_NODE_WIDTH));
}

public static List<Bytes32> getCodeChunkTrieKeyIndexes(final Bytes code) {
public static List<Bytes32> getCodeChunkKeyTrieIndexes(final Bytes code) {
return IntStream.range(0, TrieKeyUtils.getNbChunk(code))
.mapToObj(UInt256::valueOf)
.collect(Collectors.toUnmodifiableList());
Expand Down

0 comments on commit aa7172d

Please sign in to comment.