remove superfluous/overly aggressive, timing-dependent assertion (#2264)
This commit is contained in:
parent
5713a3ce4c
commit
8c48d44788
|
@ -617,9 +617,6 @@ proc handleValidatorDuties*(node: BeaconNode, lastSlot, slot: Slot) {.async.} =
|
||||||
|
|
||||||
# The dontcheck option's a deliberately undocumented escape hatch for the
|
# The dontcheck option's a deliberately undocumented escape hatch for the
|
||||||
# local testnets and similar development and testing use cases.
|
# local testnets and similar development and testing use cases.
|
||||||
doAssert node.config.gossipSlashingProtection == GossipSlashingProtectionMode.dontcheck or (
|
|
||||||
node.processor[].gossipSlashingProtection.probeEpoch <
|
|
||||||
node.processor[].gossipSlashingProtection.broadcastStartEpoch)
|
|
||||||
if curSlot.epoch <
|
if curSlot.epoch <
|
||||||
node.processor[].gossipSlashingProtection.broadcastStartEpoch and
|
node.processor[].gossipSlashingProtection.broadcastStartEpoch and
|
||||||
curSlot.epoch != node.processor[].gossipSlashingProtection.probeEpoch and
|
curSlot.epoch != node.processor[].gossipSlashingProtection.probeEpoch and
|
||||||
|
|
Loading…
Reference in New Issue