mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 00:24:56 -05:00
Change var name to avoid confusing the reader into thinking the valid_proof variable contains a valid proof as opposed to just being a bool.
Co-Authored-By: Nashatyrev <Nashatyrev@users.noreply.github.com>
This commit is contained in:
@@ -1259,7 +1259,7 @@ def process_deposit(state: BeaconState,
|
||||
withdrawal_credentials,
|
||||
)
|
||||
|
||||
if valid_proof:
|
||||
if proof_is_valid:
|
||||
validator_pubkeys = [v.pubkey for v in state.validator_registry]
|
||||
|
||||
if pubkey not in validator_pubkeys:
|
||||
|
||||
Reference in New Issue
Block a user