mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-02 13:53:27 +00:00
Update specs/phase0/fork-choice.md
This commit is contained in:
parent
0d8fab3986
commit
3a9777eebc
@ -184,6 +184,7 @@ def get_latest_attesting_balance(store: Store, root: Root) -> Gwei:
|
||||
if store.proposer_boost_root == Root():
|
||||
# Return only attestation score if ``proposer_boost_root`` is not set
|
||||
return attestation_score
|
||||
|
||||
# Calculate proposer score if ``proposer_boost_root`` is set
|
||||
proposer_score = Gwei(0)
|
||||
# Boost is applied if ``root`` is an ancestor of ``proposer_boost_root``
|
||||
|
Loading…
x
Reference in New Issue
Block a user