Fix variable name
This commit is contained in:
parent
582965fd0b
commit
d1c9b8bade
|
@ -138,7 +138,7 @@ def compute_sync_committee_proposer_reward(spec, state, committee, committee_bit
|
||||||
spec, state, index, committee, committee_bits,
|
spec, state, index, committee, committee_bits,
|
||||||
)
|
)
|
||||||
proposer_reward_denominator = (spec.WEIGHT_DENOMINATOR - spec.PROPOSER_WEIGHT) * spec.WEIGHT_DENOMINATOR // spec.PROPOSER_WEIGHT
|
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
|
return proposer_reward
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue