Remove nil for assignment when slot is 0 (#3117)

This commit is contained in:
terence tsao 2019-07-31 15:46:11 -07:00 committed by Raul Jordan
parent b504d3beb8
commit 08ac1c3c35

View File

@ -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,