From 3a9777eebc0bc0aedf3f2286a5282785dad97341 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Thu, 2 Dec 2021 14:00:06 -0700 Subject: [PATCH] Update specs/phase0/fork-choice.md --- specs/phase0/fork-choice.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specs/phase0/fork-choice.md b/specs/phase0/fork-choice.md index fe546142b..d3b0e2dc5 100644 --- a/specs/phase0/fork-choice.md +++ b/specs/phase0/fork-choice.md @@ -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``