Fix variable name

This commit is contained in:
Barnabé Monnot 2021-03-26 19:03:12 +08:00
parent 582965fd0b
commit d1c9b8bade
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def compute_sync_committee_proposer_reward(spec, state, committee, committee_bit
spec, state, index, committee, committee_bits,
)
proposer_reward_denominator = (spec.WEIGHT_DENOMINATOR - spec.PROPOSER_WEIGHT) * spec.WEIGHT_DENOMINATOR // spec.PROPOSER_WEIGHT
proposer_reward += spec.Gwei((inclusion_reward * spec.WEIGHT_DENOMINATOR) // proposer_denominator)
proposer_reward += spec.Gwei((inclusion_reward * spec.WEIGHT_DENOMINATOR) // proposer_reward_denominator)
return proposer_reward