sync committees don't exist in phase 0 (#2894)
This commit is contained in:
parent
0c635334a2
commit
bef98f6f50
|
@ -425,7 +425,6 @@ proc init*(T: type BeaconNode,
|
|||
getProposerSlashingsTopic(network.forkDigests.phase0),
|
||||
getVoluntaryExitsTopic(network.forkDigests.phase0),
|
||||
getAggregateAndProofsTopic(network.forkDigests.phase0),
|
||||
getSyncCommitteeContributionAndProofTopic(network.forkDigests.phase0),
|
||||
|
||||
getBeaconBlocksTopic(dag.forkDigests.altair),
|
||||
getAttesterSlashingsTopic(network.forkDigests.altair),
|
||||
|
@ -438,7 +437,6 @@ proc init*(T: type BeaconNode,
|
|||
topics &= getAttestationTopic(network.forkDigests.phase0, SubnetId(subnet_id))
|
||||
topics &= getAttestationTopic(network.forkDigests.altair, SubnetId(subnet_id))
|
||||
for subnet_id in 0'u64 ..< SYNC_COMMITTEE_SUBNET_COUNT:
|
||||
topics &= getSyncCommitteeTopic(network.forkDigests.phase0, SyncCommitteeIndex(subnet_id))
|
||||
topics &= getSyncCommitteeTopic(network.forkDigests.altair, SyncCommitteeIndex(subnet_id))
|
||||
topics)
|
||||
|
||||
|
|
Loading…
Reference in New Issue