mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
Rename Functions to More Closely Match Spec (#5591)
* Rename Functions to More Closely Match Spec
This commit is contained in:
@@ -26,7 +26,7 @@ pub fn initiate_validator_exit<E: EthSpec>(
|
||||
.map_or(delayed_epoch, |epoch| max(epoch, delayed_epoch));
|
||||
let exit_queue_churn = state.exit_cache().get_churn_at(exit_queue_epoch)?;
|
||||
|
||||
if exit_queue_churn >= state.get_churn_limit(spec)? {
|
||||
if exit_queue_churn >= state.get_validator_churn_limit(spec)? {
|
||||
exit_queue_epoch.safe_add_assign(1)?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user