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