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:
vbuterin 2019-02-09 11:10:03 +03:00 committed by GitHub
parent f9eaab1d04
commit 0157aa039c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,