mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Undo botched optimisation
This commit is contained in:
@@ -1380,8 +1380,6 @@ impl ProtoArray {
|
|||||||
} else {
|
} else {
|
||||||
let children = self
|
let children = self
|
||||||
.nodes
|
.nodes
|
||||||
.get(node.proto_node_index..)
|
|
||||||
.ok_or(Error::InvalidNodeIndex(node.proto_node_index))?
|
|
||||||
.iter()
|
.iter()
|
||||||
.enumerate()
|
.enumerate()
|
||||||
.filter(|(_, child_node)| {
|
.filter(|(_, child_node)| {
|
||||||
|
|||||||
Reference in New Issue
Block a user