Change -> update

As per #358
This commit is contained in:
vbuterin 2019-01-28 16:20:04 -06:00 committed by GitHub
parent a5ff8ce2fd
commit bb0619986c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1919,8 +1919,8 @@ and perform the following updates:
If a validator registry update does _not_ happen do the following: If a validator registry update does _not_ happen do the following:
* Let `epochs_since_last_registry_change = current_epoch - state.validator_registry_update_epoch`. * Let `epochs_since_last_registry_update = current_epoch - state.validator_registry_update_epoch`.
* If `epochs_since_last_registry_change` is an exact power of 2: * If `epochs_since_last_registry_update` is an exact power of 2:
* Set `state.current_calculation_epoch = next_epoch`. * Set `state.current_calculation_epoch = next_epoch`.
* Set `state.current_epoch_seed = generate_seed(state, state.current_calculation_epoch)` * Set `state.current_epoch_seed = generate_seed(state, state.current_calculation_epoch)`
* _Note_ that `state.current_epoch_start_shard` is left unchanged. * _Note_ that `state.current_epoch_start_shard` is left unchanged.