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