Skip to content

Commit 5e1eb80

Browse files
committed
chore(bls): drop redundant slice in bls sanity test
1 parent 94e805d commit 5e1eb80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/state_transition/utils/bls.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ test "bls - sanity" {
4747
const public_key = secret_key.toPublicKey();
4848
try verify(&message, &public_key, &signature, null, null);
4949

50-
var public_keys = [_]PublicKey{public_key};
51-
var public_keys_slice: []const PublicKey = public_keys[0..1];
52-
const fast_aggregate_verified = try fastAggregateVerify(&message, public_keys_slice[0..], &signature, null, null);
50+
const public_keys = [_]PublicKey{public_key};
51+
const public_keys_slice: []const PublicKey = public_keys[0..1];
52+
const fast_aggregate_verified = try fastAggregateVerify(&message, public_keys_slice, &signature, null, null);
5353
try std.testing.expectEqual(true, fast_aggregate_verified);
5454
}
5555

0 commit comments

Comments
 (0)