fix `get_new_validator_set_delta_hash_chain`
This commit is contained in:
parent
defa7da1c6
commit
7bde8c415a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue