mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
Fix attestation propagation (#1360)
* Add `should_process` for conditional processing of Attestations * Remove ATTESTATIONS_IGNORED metric
This commit is contained in:
@@ -271,7 +271,7 @@ impl<T: BeaconChainTypes> AttestationService<T> {
|
||||
/// Checks if we have subscribed aggregate validators for the subnet. If not, checks the gossip
|
||||
/// verification, re-propagates and returns false.
|
||||
pub fn should_process_attestation(
|
||||
&mut self,
|
||||
&self,
|
||||
subnet: SubnetId,
|
||||
attestation: &Attestation<T::EthSpec>,
|
||||
) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user