mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-21 23:08:23 +00:00
Fix flaky test_same_subnet_unsubscription (#8932)
Co-Authored-By: figtracer <1gusredo@gmail.com> Co-Authored-By: ackintosh <sora.akatsuki@gmail.com>
This commit is contained in:
@@ -198,13 +198,6 @@ impl<T: BeaconChainTypes> SubnetService<T> {
|
||||
self.permanent_attestation_subscriptions.iter()
|
||||
}
|
||||
|
||||
/// Returns whether we are subscribed to a subnet for testing purposes.
|
||||
#[cfg(test)]
|
||||
pub(crate) fn is_subscribed(&self, subnet: &Subnet) -> bool {
|
||||
self.subscriptions.contains_key(subnet)
|
||||
|| self.permanent_attestation_subscriptions.contains(subnet)
|
||||
}
|
||||
|
||||
/// Returns whether we are subscribed to a permanent subnet for testing purposes.
|
||||
#[cfg(test)]
|
||||
pub(crate) fn is_subscribed_permanent(&self, subnet: &Subnet) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user