We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f832634 + bb37a46 commit bbbed20Copy full SHA for bbbed20
src/state_transition/utils/attestation.zig
@@ -1,12 +1,9 @@
1
const std = @import("std");
2
-const Allocator = std.mem.Allocator;
3
const types = @import("consensus_types");
4
-const preset = @import("preset").preset;
5
const AttestationData = types.phase0.AttestationData.Type;
6
const AttesterSlashing = types.phase0.AttesterSlashing.Type;
7
8
const ValidatorIndex = types.primitive.ValidatorIndex.Type;
9
-const Slot = types.primitive.Slot.Type;
10
11
pub fn isSlashableAttestationData(data1: *const AttestationData, data2: *const AttestationData) bool {
12
// Double vote
0 commit comments