This commit is contained in:
tersec 2024-05-17 10:25:13 +00:00
parent 413e798108
commit 8b48738e74
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
1 changed files with 2 additions and 2 deletions

View File

@ -1757,7 +1757,7 @@ proc installMessageValidators(node: BeaconNode) =
# beacon_attestation_{subnet_id}
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.5/specs/phase0/p2p-interface.md#beacon_attestation_subnet_id
when false and consensusFork >= ConsensusFork.Electra:
when consensusFork >= ConsensusFork.Electra:
for it in SubnetId:
closureScope: # Needed for inner `proc`; don't lift it out of loop.
let subnet_id = it
@ -1782,7 +1782,7 @@ proc installMessageValidators(node: BeaconNode) =
# beacon_aggregate_and_proof
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.4/specs/phase0/p2p-interface.md#beacon_aggregate_and_proof
when false and consensusFork >= ConsensusFork.Electra:
when consensusFork >= ConsensusFork.Electra:
node.network.addAsyncValidator(
getAggregateAndProofsTopic(digest), proc (
signedAggregateAndProof: electra.SignedAggregateAndProof