mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 08:56:45 +00:00
remove too-aggressive assertion (#2343)
This commit is contained in:
parent
5f924c0038
commit
a3a0df17f8
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user