Subscribe to the correct subnets for electra attestations (#5782)

* subscribe to the correct att subnets for electra

* subscribe to the correct att subnets for electra
This commit is contained in:
Eitan Seri-Levi
2024-05-15 08:37:20 +03:00
committed by realbigsean
parent 3b1fb0ad81
commit 79a5f2556f
4 changed files with 13 additions and 13 deletions

View File

@@ -1168,8 +1168,8 @@ where
agg_sig
};
let subnet_id = SubnetId::compute_subnet_for_attestation_data::<E>(
attestation.data(),
let subnet_id = SubnetId::compute_subnet_for_attestation::<E>(
&attestation.to_ref(),
committee_count,
&self.chain.spec,
)