Indent fix
This commit is contained in:
parent
9a20ecb9e4
commit
4d3f388d28
|
@ -761,14 +761,14 @@ def add_validator(state: State,
|
||||||
sig=proof_of_possession,
|
sig=proof_of_possession,
|
||||||
domain=get_domain(state, current_slot, DOMAIN_DEPOSIT))
|
domain=get_domain(state, current_slot, DOMAIN_DEPOSIT))
|
||||||
rec = ValidatorRecord(
|
rec = ValidatorRecord(
|
||||||
pubkey=pubkey,
|
pubkey=pubkey,
|
||||||
withdrawal_credentials=withdrawal_credentials,
|
withdrawal_credentials=withdrawal_credentials,
|
||||||
randao_commitment=randao_commitment,
|
randao_commitment=randao_commitment,
|
||||||
randao_skips=0,
|
randao_skips=0,
|
||||||
balance=DEPOSIT_SIZE * GWEI_PER_ETH,
|
balance=DEPOSIT_SIZE * GWEI_PER_ETH,
|
||||||
status=status,
|
status=status,
|
||||||
last_status_change_slot=current_slot,
|
last_status_change_slot=current_slot,
|
||||||
exit_seq=0
|
exit_seq=0
|
||||||
)
|
)
|
||||||
# Pubkey uniqueness
|
# Pubkey uniqueness
|
||||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||||
|
|
Loading…
Reference in New Issue