Merge branch 'master' into virtual-skip-block

This commit is contained in:
Danny Ryan 2018-12-06 09:45:25 -06:00
commit 3e1aad24b0
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -1520,7 +1520,7 @@ def get_updated_validator_registry(validator_registry: List[ValidatorRecord],
# Exit validators within the allowable balance churn
balance_churn = 0
for i, validator in enumerate(validators):
for i, validator in enumerate(validator_registry):
if validator.status == ACTIVE_PENDING_EXIT:
# Check the balance churn would be within the allowance
balance_churn += get_effective_balance(validator)