Skip to content

Commit

Permalink
Remove the redundant random
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashatyrev committed Apr 26, 2024
1 parent 8b8b79c commit b1d8d03
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public Stream<? extends SszSchema<?>> testSchemas() {
@ParameterizedTest
<T extends SszByteVector> void fromBytes_shouldCreateCorrectClassInstance(
final SszByteVectorSchema<T> schema) {
Random random = new Random(1);
List<Bytes> byteList =
Stream.generate(() -> Bytes.of(random.nextInt(256))).limit(schema.getLength()).toList();
Bytes bytes = Bytes.wrap(byteList);
Expand Down

0 comments on commit b1d8d03

Please sign in to comment.