Skip to content

Commit

Permalink
make list pubkey list immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Dec 19, 2024
1 parent 4fb038d commit ce8b901
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import it.unimi.dsi.fastutil.ints.IntList;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.stream.IntStream;
Expand Down Expand Up @@ -262,7 +263,7 @@ public SafeFuture<AttestationProcessingResult> isValidIndexedAttestationAsync(
return validateAttestationDataSignature(
fork,
state,
pubkeys,
Collections.unmodifiableList(pubkeys),
indexedAttestation.getSignature(),
indexedAttestation.getData(),
signatureVerifier);
Expand Down

0 comments on commit ce8b901

Please sign in to comment.