local var i -> index

This commit is contained in:
Danny Ryan 2018-12-10 16:17:42 -06:00
parent 03901ffe65
commit 0c281c8113
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 2 additions and 2 deletions

View File

@ -1210,7 +1210,7 @@ def activate_validator(index: int,
validator.latest_status_change_slot = state.slot
state.validator_registry_delta_chain_tip = get_new_validator_registry_delta_chain_tip(
validator_registry_delta_chain_tip=validator_registry_delta_chain_tip,
index=i,
index=index,
pubkey=validator.pubkey,
flag=ACTIVATION,
)
@ -1360,7 +1360,7 @@ For each `attestation` in `block.body.attestations`:
Verify that `len(block.body.deposits) <= MAX_DEPOSITS`.
[TODO: add logic to ensure that deposits from 1.0 chain are processed in order:]
[TODO: add logic to ensure that deposits from 1.0 chain are processed in order]
For each `deposit` in `block.body.deposits`: