Skip to content

Commit ff9b6b5

Browse files
committed
use Slot value instead of pointer
1 parent 32e7910 commit ff9b6b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beacon_node/beacon_chain/src/validator_monitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,8 @@ impl<T: EthSpec> ValidatorMonitor<T> {
541541
let attested_slots: Vec<_> = self
542542
.unaggregated_attestations
543543
.keys()
544-
.filter(|attestation_slot| {
545-
**attestation_slot
544+
.filter(|&&attestation_slot| {
545+
attestation_slot
546546
< current_slot - Slot::new(UNAGGREGATED_ATTESTATION_LAG_SLOTS as u64)
547547
})
548548
.cloned()

0 commit comments

Comments
 (0)