Add to_ref method for inductor

This commit is contained in:
Paul Hauner
2018-10-20 21:01:35 +11:00
parent 99ce9a2dd2
commit a8179897a9

View File

@@ -107,6 +107,12 @@ impl<'a> ValidatorInductor<'a> {
}
}
}
fn to_ref(self)
-> &'a Vec<ValidatorRecord>
{
self.validators
}
}