From 0e0a8682d67bdebfaa9788770438c9859a545819 Mon Sep 17 00:00:00 2001 From: Wei Tang Date: Thu, 2 May 2019 17:49:02 +0200 Subject: [PATCH] update v0.6: milder ejections (https://github.com/ethereum/eth2.0-specs/pull/784) --- beacon/src/executive/per_epoch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/src/executive/per_epoch.rs b/beacon/src/executive/per_epoch.rs index 4b60eb3..8e30c7c 100644 --- a/beacon/src/executive/per_epoch.rs +++ b/beacon/src/executive/per_epoch.rs @@ -300,7 +300,7 @@ impl<'state, 'config, C: Config> Executive<'state, 'config, C> { pub fn update_ejections(&mut self) { for index in self.state.active_validator_indices(self.current_epoch()) { if self.state.validator_balances[index as usize] < self.config.ejection_balance() { - self.exit_validator(index); + self.initiate_validator_exit(index); } } }