mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932)
This commit is contained in:
@@ -250,7 +250,7 @@ impl MerkleTree {
|
||||
if deposit_count == (0x1 << level) {
|
||||
return Ok(MerkleTree::Finalized(
|
||||
*finalized_branch
|
||||
.get(0)
|
||||
.first()
|
||||
.ok_or(MerkleTreeError::PleaseNotifyTheDevs)?,
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user