mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +00:00
Electra minor refactorings (#6839)
N/A
Fix some typos and other minor refactorings in the electra code. Thanks @jtraglia for bringing them up.
Note to reviewiers: 47803496de is the commit that needs looking into in detail. The rest are very minor refactorings
This commit is contained in:
@@ -214,7 +214,7 @@ impl<E: EthSpec> CompactIndexedAttestationElectra<E> {
|
||||
.is_zero()
|
||||
}
|
||||
|
||||
/// Returns `true` if aggregated, otherwise `false`.
|
||||
/// Returns `true` if aggregated, otherwise `false`.
|
||||
pub fn aggregate_same_committee(&mut self, other: &Self) -> bool {
|
||||
if self.committee_bits != other.committee_bits {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user