mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 10:44: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:
@@ -1252,7 +1252,7 @@ def process_deposit(state: BeaconState,
|
||||
Note that this function mutates ``state``.
|
||||
"""
|
||||
# Validate the given `proof_of_possession`
|
||||
valid_proof = validate_proof_of_possession(
|
||||
proof_is_valid = validate_proof_of_possession(
|
||||
state,
|
||||
pubkey,
|
||||
proof_of_possession,
|
||||
|
||||
Reference in New Issue
Block a user