Skip to content

Commit bbbed20

Browse files
committed
Merge branch 'main' into bing/utils-is-valid-attestation-slot
2 parents f832634 + bb37a46 commit bbbed20

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/state_transition/utils/attestation.zig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
const std = @import("std");
2-
const Allocator = std.mem.Allocator;
32
const types = @import("consensus_types");
4-
const preset = @import("preset").preset;
53
const AttestationData = types.phase0.AttestationData.Type;
64
const AttesterSlashing = types.phase0.AttesterSlashing.Type;
75

86
const ValidatorIndex = types.primitive.ValidatorIndex.Type;
9-
const Slot = types.primitive.Slot.Type;
107

118
pub fn isSlashableAttestationData(data1: *const AttestationData, data2: *const AttestationData) bool {
129
// Double vote

0 commit comments

Comments
 (0)