mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-14 12:46:06 +00: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:
parent
f9eaab1d04
commit
0157aa039c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user