Update specs/phase0/fork-choice.md

This commit is contained in:
Danny Ryan 2021-12-02 14:00:06 -07:00 committed by GitHub
parent 0d8fab3986
commit 3a9777eebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ def get_latest_attesting_balance(store: Store, root: Root) -> Gwei:
if store.proposer_boost_root == Root(): if store.proposer_boost_root == Root():
# Return only attestation score if ``proposer_boost_root`` is not set # Return only attestation score if ``proposer_boost_root`` is not set
return attestation_score return attestation_score
# Calculate proposer score if ``proposer_boost_root`` is set # Calculate proposer score if ``proposer_boost_root`` is set
proposer_score = Gwei(0) proposer_score = Gwei(0)
# Boost is applied if ``root`` is an ancestor of ``proposer_boost_root`` # Boost is applied if ``root`` is an ancestor of ``proposer_boost_root``