mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Add to_ref method for inductor
This commit is contained in:
@@ -107,6 +107,12 @@ impl<'a> ValidatorInductor<'a> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn to_ref(self)
|
||||
-> &'a Vec<ValidatorRecord>
|
||||
{
|
||||
self.validators
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user