fix `get_new_validator_set_delta_hash_chain`

This commit is contained in:
Hsiao-Wei Wang 2018-11-26 21:27:41 +08:00
parent defa7da1c6
commit 7bde8c415a
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 1 additions and 1 deletions

View File

@ -1118,7 +1118,7 @@ def change_validators(validators: List[ValidatorRecord], current_slot: int) -> N
validators[i].status = PENDING_WITHDRAW
validators[i].last_status_change_slot = current_slot
total_changed += validators[i].balance
state.validator_set_delta_hash_chain = calcuate_validator_set_delta_hash_chain(
state.validator_set_delta_hash_chain = get_new_validator_set_delta_hash_chain(
validator_set_delta_hash_chain=state.validator_set_delta_hash_chain,
index=i,
pubkey=validators[i].pubkey,