mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Rust 1.79 lints (#5927)
* max_value -> MAX
* remove unnecesary closures
* a couple more max_value -> MAX
* a couple more max_value -> MAX
* Revert "a couple more max_value -> MAX"
This reverts commit 807fe7cae9.
* unused spec field -> phantom data
* ignore some dead code warnings
* update kurtosis repo location
This commit is contained in:
@@ -793,9 +793,7 @@ async fn aggregate_attestation_to_unknown_block(import_method: BlockImportMethod
|
||||
let mut rig = TestRig::new(SMALL_CHAIN).await;
|
||||
|
||||
// Empty the op pool.
|
||||
rig.chain
|
||||
.op_pool
|
||||
.prune_attestations(u64::max_value().into());
|
||||
rig.chain.op_pool.prune_attestations(u64::MAX.into());
|
||||
assert_eq!(rig.chain.op_pool.num_attestations(), 0);
|
||||
|
||||
// Send the attestation but not the block, and check that it was not imported.
|
||||
|
||||
Reference in New Issue
Block a user