mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932)
This commit is contained in:
@@ -655,14 +655,17 @@ pub fn load_test_blobs_bundle<E: EthSpec>() -> Result<(KzgCommitment, KzgProof,
|
||||
|
||||
Ok((
|
||||
commitments
|
||||
.get(0)
|
||||
.first()
|
||||
.cloned()
|
||||
.ok_or("commitment missing in test bundle")?,
|
||||
proofs
|
||||
.get(0)
|
||||
.first()
|
||||
.cloned()
|
||||
.ok_or("proof missing in test bundle")?,
|
||||
blobs.get(0).cloned().ok_or("blob missing in test bundle")?,
|
||||
blobs
|
||||
.first()
|
||||
.cloned()
|
||||
.ok_or("blob missing in test bundle")?,
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user