Update test_libs/pyspec/tests/test_sanity.py

Co-Authored-By: JustinDrake <drakefjustin@gmail.com>
This commit is contained in:
Danny Ryan 2019-04-24 14:29:35 +10:00 committed by GitHub
parent f2d885f0d8
commit 5587c44abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ def test_balance_driven_status_transitions(state):
assert pre_state.validator_registry[validator_index].exit_epoch == spec.FAR_FUTURE_EPOCH
# set validator balance to below ejection threshold
pre_state.validator_registry[validator_index].effective_balance = spec.EJECTION_BALANCE - 1
pre_state.validator_registry[validator_index].effective_balance = spec.EJECTION_BALANCE
post_state = deepcopy(pre_state)
#