mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
Remove nil for assignment when slot is 0 (#3117)
This commit is contained in:
parent
b504d3beb8
commit
08ac1c3c35
@ -196,9 +196,6 @@ func (v *validator) UpdateAssignments(ctx context.Context, slot uint64) error {
|
||||
}
|
||||
ctx, span := trace.StartSpan(ctx, "validator.UpdateAssignments")
|
||||
defer span.End()
|
||||
if slot == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
req := &pb.AssignmentRequest{
|
||||
EpochStart: slot / params.BeaconConfig().SlotsPerEpoch,
|
||||
|
Loading…
Reference in New Issue
Block a user