Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
4dc7a8809c
commit
c70e555260
|
@ -760,7 +760,7 @@ def add_validator(state: State,
|
||||||
# Pubkey uniqueness
|
# Pubkey uniqueness
|
||||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||||
if pubkey not in validator_pubkeys:
|
if pubkey not in validator_pubkeys:
|
||||||
assert deposit_size == DEPOSIT_SIZE`
|
assert deposit_size == DEPOSIT_SIZE
|
||||||
rec = ValidatorRecord(
|
rec = ValidatorRecord(
|
||||||
pubkey=pubkey,
|
pubkey=pubkey,
|
||||||
withdrawal_credentials=withdrawal_credentials,
|
withdrawal_credentials=withdrawal_credentials,
|
||||||
|
|
Loading…
Reference in New Issue