remove too-aggressive assertion (#2343)

This commit is contained in:
tersec 2021-02-19 10:54:47 +00:00 committed by GitHub
parent 5f924c0038
commit a3a0df17f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -863,7 +863,6 @@ func getNextAttestation(node: BeaconNode, slot: Slot): Slot =
let bitmapEpoch = slot.epoch + i let bitmapEpoch = slot.epoch + i
if bitmapEpoch > node.attestationSubnets.lastCalculatedAttestationEpoch: if bitmapEpoch > node.attestationSubnets.lastCalculatedAttestationEpoch:
doAssert i == 0 or orderedAttestingSlots[0] == 0
return FAR_FUTURE_SLOT return FAR_FUTURE_SLOT
for slotOffset in 0 ..< SLOTS_PER_EPOCH: for slotOffset in 0 ..< SLOTS_PER_EPOCH: