mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-09 12:31:23 +00:00
Add to_ref method for inductor
This commit is contained in:
parent
99ce9a2dd2
commit
a8179897a9
@ -107,6 +107,12 @@ impl<'a> ValidatorInductor<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn to_ref(self)
|
||||||
|
-> &'a Vec<ValidatorRecord>
|
||||||
|
{
|
||||||
|
self.validators
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user