fix broken block test for checkpoint use

This commit is contained in:
protolambda 2019-06-29 03:22:14 +02:00
parent efd9d173d7
commit afb34c71e6
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ def test_empty_epoch_transition_not_finalizing(spec, state):
yield 'post', state
assert state.slot == block.slot
assert state.finalized_epoch < spec.get_current_epoch(state) - 4
assert state.finalized_checkpoint.epoch < spec.get_current_epoch(state) - 4
for index in range(len(state.validators)):
assert state.balances[index] < pre_balances[index]